X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30be036c6d4990f8aa21af5b86abdc0852e686a0..a01d6442f4dcf2d30d52e50bc8c8410066f76265:/include/wx/msw/combo.h diff --git a/include/wx/msw/combo.h b/include/wx/msw/combo.h index 4f350d8f30..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,16 +73,19 @@ public: static int GetFeatures() { return wxComboCtrlFeatures::All; } #if wxUSE_COMBOCTRL_POPUP_ANIMATION + void OnTimerEvent(wxTimerEvent& WXUNUSED(event)) { DoTimerEvent(); } + +protected: + void DoTimerEvent(); + virtual bool AnimateShow( const wxRect& rect, int flags ); - void OnTimerEvent( wxTimerEvent& event ); -#endif +#endif // wxUSE_COMBOCTRL_POPUP_ANIMATION protected: // customization virtual void OnResize(); virtual wxCoord GetNativeTextIndent() const; - virtual void OnThemeChange(); // event handlers void OnPaintEvent( wxPaintEvent& event );