X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/605dfd9173b9ad855f47b369d31b5bf7fbd8df18..1a33ac8fb0f5e43c89bd698618d554c6f7b8b452:/include/wx/generic/calctrl.h?ds=sidebyside diff --git a/include/wx/generic/calctrl.h b/include/wx/generic/calctrl.h index 8c76660125..f7d3d6abbc 100644 --- a/include/wx/generic/calctrl.h +++ b/include/wx/generic/calctrl.h @@ -9,7 +9,7 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "calctrl.h" #endif @@ -29,7 +29,7 @@ class WXDLLEXPORT wxSpinCtrl; // wxCalendarCtrl: a control allowing the user to pick a date interactively // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxCalendarCtrl : public wxControl +class WXDLLIMPEXP_ADV wxCalendarCtrl : public wxControl { friend class wxMonthComboBox; friend class wxYearSpinCtrl; @@ -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