]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/app.h
added wxUpdateUIEvent handling to wxMGL
[wxWidgets.git] / include / wx / x11 / app.h
index 39a94cbe3079b1ee212db2c749190f9c28ba0bac..402a8dbf092b1d5e7037a84e1b171ee57f9e08ae 100644 (file)
@@ -91,12 +91,15 @@ public:
     
     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;
@@ -106,7 +109,6 @@ protected:
     
     WXWindow              m_topLevelWidget;
     WXColormap            m_mainColormap;
-    WXDisplay*            m_initialDisplay;
     long                  m_maxRequestSize;
     wxEventLoop*          m_mainLoop;