mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user