mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
* compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent
* compatibility with wxWdigets 2.9+: Handle MOUSE_CAPTURE_LOST event * use wxBORDER_THEME for custom controls git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1559 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -20,7 +20,7 @@ class FindInfo;
|
||||
/// An editor for data values (usually a card)
|
||||
class DataEditor : public CardViewer {
|
||||
public:
|
||||
DataEditor(Window* parent, int id, long style = 0);
|
||||
DataEditor(Window* parent, int id, long style = wxBORDER_THEME);
|
||||
|
||||
// --------------------------------------------------- : Utility for ValueViewers/Editors
|
||||
|
||||
@@ -108,6 +108,7 @@ class DataEditor : public CardViewer {
|
||||
void onMotion (wxMouseEvent&);
|
||||
void onMouseWheel(wxMouseEvent&);
|
||||
void onMouseLeave(wxMouseEvent&);
|
||||
void onLoseCapture(wxMouseCaptureLostEvent&);
|
||||
|
||||
void onChar (wxKeyEvent&);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user