X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWx.cxx;h=7ad8ad02785220d05bd598b69704a43d20ec1321;hb=d7fb51b4b79c28f4c70137f12db8cfe9ea7f87b8;hp=fc42e4788c5af29040172211e5356159f30d6256;hpb=6c8a2137ff5c30872ea69ba70284818d288892a7;p=bbtk.git diff --git a/kernel/src/bbtkWx.cxx b/kernel/src/bbtkWx.cxx index fc42e47..7ad8ad0 100644 --- a/kernel/src/bbtkWx.cxx +++ b/kernel/src/bbtkWx.cxx @@ -11,7 +11,13 @@ namespace bbtk static int mgNbWindowsAlive = 0; static int mgNbWindowsShown = 0; - + void Wx::CreateInvisibleTopWindow() + { + wxWindow* top = new wxFrame(0,-1,_T("TOP (YOU SHOULD NOT SEE ME !!)")); + top->Hide(); + Wx::SetTopWindow(top); + } + void Wx::ResetCursor() { if (!GetTopWindow()) return;