X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c3693e8f58dc583c48f3654559a4309e9f260c6..98fbab9e7bf70ee8af44a78ea2a1d2cbb406880a:/include/wx/msw/combo.h?ds=sidebyside diff --git a/include/wx/msw/combo.h b/include/wx/msw/combo.h index ce07dd572a..be85dbcf41 100644 --- a/include/wx/msw/combo.h +++ b/include/wx/msw/combo.h @@ -33,9 +33,9 @@ // Define this only if native implementation includes all features #define wxCOMBOCONTROL_FULLY_FEATURED -extern WXDLLIMPEXP_DATA_CORE(const wxChar) wxComboBoxNameStr[]; +extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[]; -class WXDLLEXPORT wxComboCtrl : public wxComboCtrlBase +class WXDLLIMPEXP_CORE wxComboCtrl : public wxComboCtrlBase { public: // ctors and such @@ -73,17 +73,19 @@ public: static int GetFeatures() { return wxComboCtrlFeatures::All; } #if wxUSE_COMBOCTRL_POPUP_ANIMATION - void OnTimerEvent( wxTimerEvent& event ); + void OnTimerEvent(wxTimerEvent& WXUNUSED(event)) { DoTimerEvent(); } + protected: + void DoTimerEvent(); + virtual bool AnimateShow( const wxRect& rect, int flags ); -#endif +#endif // wxUSE_COMBOCTRL_POPUP_ANIMATION protected: // customization virtual void OnResize(); virtual wxCoord GetNativeTextIndent() const; - virtual void OnThemeChange(); // event handlers void OnPaintEvent( wxPaintEvent& event );