* compatibility with wxWdigets 2.9+: use HandleWindowEvent instead of ProcessEvent

* compatibility with wxWdigets 2.9+: Vector2D: prevent ambiguous conversion errors
* use wxBORDER_THEME for custom control


git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1545 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-07 21:17:03 +00:00
parent 0ee420b7b4
commit 075122668b
2 changed files with 6 additions and 4 deletions
+1
View File
@@ -372,6 +372,7 @@ class GraphControl : public wxControl {
DECLARE_EVENT_TABLE();
void onPaint(wxPaintEvent&);
void onEraseBackground(wxEraseEvent&) {}
void onSize (wxSizeEvent&);
void onMouseDown(wxMouseEvent& ev);
void onMotion(wxMouseEvent& ev);