Corrections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-10-14 10:20:38 +00:00
parent cf1f0870d8
commit cd34332fc4
2 changed files with 4 additions and 2 deletions

View File

@ -17,9 +17,9 @@
#include "wx/generic/colrdlgg.h" #include "wx/generic/colrdlgg.h"
#endif #endif
#if defined(__WXMSW__) #if !defined(__WXMSW__)
#define wxColourDialog wxGenericColourDialog #define wxColourDialog wxGenericColourDialog
#define sm_classwxColourDialog sm_classwxColourDialog #define sm_classwxColourDialog sm_classwxGenericColourDialog
#endif #endif
#endif #endif

View File

@ -111,8 +111,10 @@ class WXDLLEXPORT wxGenericColourDialog: public wxDialog
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };
/* This shouldn't be necessary, we have a #define in wx/colordlg.h.
#ifdef __WXGTK__ #ifdef __WXGTK__
typedef wxGenericColourDialog wxColourDialog; typedef wxGenericColourDialog wxColourDialog;
#endif #endif
*/
#endif #endif