X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6aa3ea889af9d1da98061a2ddad0550105703b73..61ecf6d34ffb087e4a02d1c4e29e1f155875eba0:/include/wx/cmdproc.h diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index 3b09e400bd..b5b8b88b10 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -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