WXWindow GetTopLevelWidget() const { return m_topLevelWidget; }
WXColormap GetMainColormap(WXDisplay* display);
- WXDisplay* GetInitialDisplay() const { return m_initialDisplay; }
long GetMaxRequestSize() const { return m_maxRequestSize; }
// This handler is called when a property change event occurs
virtual void HandlePropertyChange(WXEvent *event);
+ // We need this before create the app
+ static WXDisplay* GetDisplay() { return ms_display; }
+ static WXDisplay* ms_display;
+
public:
static long sm_lastMessageTime;
int m_nCmdShow;
WXWindow m_topLevelWidget;
WXColormap m_mainColormap;
- WXDisplay* m_initialDisplay;
long m_maxRequestSize;
wxEventLoop* m_mainLoop;