]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/calctrl.h
fix for non-unicode DMC builds
[wxWidgets.git] / include / wx / generic / calctrl.h
index 60d1dc394568a082a1a153472b935f01fa86f394..f7d3d6abbca3479cc390cadb411204f8eeeb57e3 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "calctrl.h"
 #endif
 
@@ -242,10 +242,12 @@ private:
     // show the correct controls
     void ShowCurrentControls();
 
+public:
     // get the currently shown control for month/year
     wxControl *GetMonthControl() const;
     wxControl *GetYearControl() const;
 
+private:
     // OnPaint helper-methods
 
     // Highlight the [fromdate : todate] range using pen and brush