]> git.sesse.net Git - vlc/blobdiff - modules/gui/wxwindows/interface.cpp
Improvements to preferences
[vlc] / modules / gui / wxwindows / interface.cpp
index 927a800f3457d26070a585f2af73e32754773f05..eef3c60a6207089623cc4165f0e262a50dd13074 100644 (file)
@@ -372,7 +372,11 @@ void Interface::CreateOurMenuBar()
 #if defined(__WXGTK__)
             22 /* approximate margin */;
 #else
+#if (wxMAJOR_VERSION <= 2) && (wxMINOR_VERSION <= 5) && (wxRELEASE_NUMBER < 3)
             4 /* approximate margin */;
+#else
+            18 /* approximate margin */;
+#endif
 #endif
     }
     frame_sizer->SetMinSize( i_size, -1 );