X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWx.h;h=7d64a023a94f22119dd08b7ad41ba1dac1bdeacf;hb=b9da3baf83b7791357c78322e3280314ec782f40;hp=a27aae1e88a87b5f3439313b68db913facb5d193;hpb=5ca30b861f60def2666a1c675e8b45df0a713f95;p=bbtk.git diff --git a/kernel/src/bbtkWx.h b/kernel/src/bbtkWx.h index a27aae1..7d64a02 100644 --- a/kernel/src/bbtkWx.h +++ b/kernel/src/bbtkWx.h @@ -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){