]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / window.h
index 06d52fc8351e41e278da2ab401412acc05cbd7f9..214833cd5df0997d63f4a9692b32df06a8d06b93 100644 (file)
@@ -832,7 +832,9 @@ protected:
     //       The same holds for all other wxEvtHandler functions.
 
     using wxEvtHandler::ProcessEvent;
+#if wxUSE_THREADS
     using wxEvtHandler::ProcessThreadEvent;
+#endif
     using wxEvtHandler::SafelyProcessEvent;
     using wxEvtHandler::ProcessPendingEvents;
     using wxEvtHandler::AddPendingEvent;
@@ -1703,7 +1705,7 @@ private:
 
 
     DECLARE_ABSTRACT_CLASS(wxWindowBase)
-    DECLARE_NO_COPY_CLASS(wxWindowBase)
+    wxDECLARE_NO_COPY_CLASS(wxWindowBase);
     DECLARE_EVENT_TABLE()
 };