* 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:
twanvl
2010-12-07 22:03:14 +00:00
parent b8b07fd80a
commit 653378d0b2
2 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -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&);