]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / window.h
index cc879cfd98a70b09f402a38e91e4b30ff2063dd9..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;