Make gtk1.x happy again

This commit is contained in:
Jouk
2020-05-29 09:16:25 +02:00
parent 27495c5484
commit e59a5d17da

View File

@@ -153,7 +153,7 @@ protected:
wxWindow* win = wxGetActiveWindow(); wxWindow* win = wxGetActiveWindow();
#if defined(__WXGTK__) #if defined(__WXGTK20__)
if ( win && !win->IsTopLevel() ) if ( win && !win->IsTopLevel() )
{ {
win = wxGetTopLevelParent(win); win = wxGetTopLevelParent(win);