-
- struct BBTK_EXPORT wx
- { public:
- static void ResetCursor();
- static void BeginBusyCursor();
- static void EndBusyCursor();
- static int mBeginBusyCallsCount;
- }; // struct wx
-//==================================================================
+
+ struct BBTK_EXPORT Wx
+ {
+ public:
+ static void ResetCursor();
+ static void BeginBusyCursor();
+ static void EndBusyCursor();
+ static int mBeginBusyCallsCount;
+
+ /// Returns the global parent of all bbtk windows
+ static wxWindow* GetTopWindow();
+ /// Sets the global parent of all bbtk windows
+ static void SetTopWindow(wxWindow*);
+
+ static void IncNbWindowsAlive();
+ static void DecNbWindowsAlive();
+ static int GetNbWindowsAlive();
+ static bool IsSomeWindowAlive();
+
+ static void IncNbWindowsShown();
+ static void DecNbWindowsShown();
+ static int GetNbWindowsShown();
+ static bool IsSomeWindowShown();
+
+/*EED
+ private:
+ static wxWindow* mgTopWindow;
+ static int mgNbWindowsAlive;
+ static int mgNbWindowsShown;
+*/
+ }; // struct Wx
+ //==================================================================
+