mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user