]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdproc.h
ReDOS-ified project files
[wxWidgets.git] / include / wx / cmdproc.h
index 4092fdffdae76654a99f5b108d8613afb0162865..0e5547a6b7b6b4c82fd82e974615a7efa5ec93cd 100644 (file)
@@ -91,7 +91,7 @@ public:
     wxList& GetCommands() const { return (wxList&) m_commands; }
     wxCommand *GetCurrentCommand() const
     {
-        return (wxCommand *)(m_currentCommand ? m_currentCommand->Data() : NULL);
+        return (wxCommand *)(m_currentCommand ? m_currentCommand->GetData() : NULL);
     }
     int GetMaxCommands() const { return m_maxNoCommands; }
     virtual void ClearCommands();
@@ -123,6 +123,7 @@ protected:
 
 private:
     DECLARE_DYNAMIC_CLASS(wxCommandProcessor)
+    DECLARE_NO_COPY_CLASS(wxCommandProcessor)
 };
 
 #endif // _WX_CMDPROC_H_