]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdproc.h
fix typo in drawing slider ticks; added assert to check for it (slightly modified...
[wxWidgets.git] / include / wx / cmdproc.h
index 3b09e400bdcaa6f78dce111524730d9aea84d652..b5b8b88b10a7867f92ac91858dd90102cab5ab55 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CMDPROC_H_
 #define _WX_CMDPROC_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "cmdproc.h"
 #endif
 
@@ -26,7 +26,7 @@
 class WXDLLEXPORT wxCommand : public wxObject
 {
 public:
-    wxCommand(bool canUndoIt = FALSE, const wxString& name = "");
+    wxCommand(bool canUndoIt = FALSE, const wxString& name = wxT(""));
     ~wxCommand();
 
     // Override this to perform a command