summaryrefslogtreecommitdiff
path: root/wx+/file_drop.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/file_drop.h')
-rw-r--r--wx+/file_drop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wx+/file_drop.h b/wx+/file_drop.h
index f8943788..cfa0ea6c 100644
--- a/wx+/file_drop.h
+++ b/wx+/file_drop.h
@@ -50,7 +50,7 @@ void MyDlg::OnFilesDropped(FileDropEvent& event);
namespace impl
{
inline
-wxEventType createNewEventType()
+wxEventType getFileDropEventType()
{
//inline functions have external linkage by default => this static is also extern, i.e. program wide unique! but defined in a header... ;)
static wxEventType dummy = wxNewEventType();
@@ -59,7 +59,7 @@ wxEventType createNewEventType()
}
//define new event type
-const wxEventType EVENT_DROP_FILE = impl::createNewEventType();
+const wxEventType EVENT_DROP_FILE = impl::getFileDropEventType();
class FileDropEvent : public wxCommandEvent
{
@@ -101,7 +101,7 @@ public:
~DragDropCleanupWindow() { impl::unregisterDragDrop(dropHwnd); }
private:
- HWND dropHwnd;
+ const HWND dropHwnd;
};
}
bgstack15