attempt to reduce flicker by override EVT_ERASE_BACKGROUND

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1571 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-30 23:32:43 +00:00
parent 05b753c7a1
commit 31377629c8
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ class HoverButtonBase : public wxControl {
void onKeyDown (wxKeyEvent&);
void onKeyUp (wxKeyEvent&);
void onPaint (wxPaintEvent&);
void onEraseBackground(wxEraseEvent&) {}
protected:
bool hover, focus, mouse_down, key_down;