]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWx.h
BUG static dll windows
[bbtk.git] / kernel / src / bbtkWx.h
index a27aae1e88a87b5f3439313b68db913facb5d193..7d64a023a94f22119dd08b7ad41ba1dac1bdeacf 100644 (file)
@@ -45,29 +45,31 @@ namespace bbtk
     static int mBeginBusyCallsCount;
 
     /// 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){