]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdproc.h
Borland apparently uses for int64 in printf(), not
[wxWidgets.git] / include / wx / cmdproc.h
index f059bd5187b2fb86b94452fb538ef0ef14f1fdf8..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();