use focused bitmap as fallback for the hover one

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-11-03 19:38:20 +00:00
parent 3e764e2f80
commit 7996ff8038
3 changed files with 28 additions and 1 deletions

View File

@@ -51,7 +51,9 @@ public:
virtual void DrawButtonDisable( WXHDC dc, int left, int top, int right, int bottom, bool with_marg );
protected:
// reimplement some base class virtuals
virtual wxSize DoGetBestSize() const;
virtual void OnSetBitmap();
// invalidate m_brushDisabled when system colours change
void OnSysColourChanged(wxSysColourChangedEvent& event);