mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57: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:
@@ -152,6 +152,7 @@ BEGIN_EVENT_TABLE(HoverButtonBase, wxControl)
|
||||
EVT_KEY_DOWN (HoverButtonBase::onKeyDown)
|
||||
EVT_KEY_UP (HoverButtonBase::onKeyUp)
|
||||
EVT_MOUSE_CAPTURE_LOST(HoverButtonBase::onLoseCapture)
|
||||
EVT_ERASE_BACKGROUND(HoverButtonBase::onEraseBackground)
|
||||
END_EVENT_TABLE ()
|
||||
|
||||
// ----------------------------------------------------------------------------- : Button with image and hover effect
|
||||
|
||||
Reference in New Issue
Block a user