Inheriting CardViewer from wxPanel was causing problems with the focus

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1146 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-11 20:48:47 +00:00
parent 3d6a6d31e7
commit ca63496ade
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ DECLARE_EVENT_TYPE(EVENT_SIZE_CHANGE, <not used>)
// ----------------------------------------------------------------------------- : CardViewer
/// A control to view a single card
class CardViewer : public wxPanel, public DataViewer {
class CardViewer : public wxControl, public DataViewer {
public:
CardViewer(Window* parent, int id, long style = 0);