]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWx.h
- Finished the Transcriptor
[bbtk.git] / kernel / src / bbtkWx.h
index a27aae1e88a87b5f3439313b68db913facb5d193..e160c3ae7b1eecbc994674bb8c27be450bbb8230 100644 (file)
@@ -44,30 +44,33 @@ namespace bbtk
     static void EndBusyCursor();
     static int mBeginBusyCallsCount;
 
+    static void CreateInvisibleTopWindow();
     /// Returns the global parent of all bbtk windows
-    static wxWindow* GetTopWindow() { return mgTopWindow; }
+    static wxWindow* GetTopWindow();
     /// Sets the global parent of all bbtk windows
     static void SetTopWindow(wxWindow*);
     
-    static void IncNbWindowsAlive() { mgNbWindowsAlive++; }
+    static void IncNbWindowsAlive();
     static void DecNbWindowsAlive();
-    static int  GetNbWindowsAlive() { return mgNbWindowsAlive; }
-    static bool IsSomeWindowAlive() { return (mgNbWindowsAlive>0);}
+    static int  GetNbWindowsAlive();
+    static bool IsSomeWindowAlive();
     
-    static void IncNbWindowsShown() { mgNbWindowsShown++; }
+    static void IncNbWindowsShown();
     static void DecNbWindowsShown();
-    static int  GetNbWindowsShown() { return mgNbWindowsShown; }
-    static bool IsSomeWindowShown() { return (mgNbWindowsShown>0);}
+    static int  GetNbWindowsShown();
+    static bool IsSomeWindowShown();
     
+/*EED
   private:
     static wxWindow* mgTopWindow;
     static int mgNbWindowsAlive;
     static int mgNbWindowsShown;
-
+*/
   }; // struct Wx
   //==================================================================
   
-  
+
+
   //==================================================================
   /// Conversion std::string to wxString 
   inline wxString std2wx(const std::string& s){
@@ -115,6 +118,7 @@ namespace bbtk
     static void ResetCursor() {}
     static void BeginBusyCursor() {}
     static void EndBusyCursor() {}
+    static void CreateInvisibleTopWindow() {}
     static wxWindow* GetTopWindow() { return 0; }
     static void SetTopWindow(wxWindow*) {}
     static void IncNbWindowsAlive() {}