wxWindow *p_dummy = new wxWindow( this, 0, wxDefaultPosition,
wxSize(0,0) );
p_dummy->SetFocus();
- frame_sizer->Add( p_dummy, 0, wxEXPAND );
+ frame_sizer->Add( p_dummy, 0, 0 );
/* Creation of the menu bar */
CreateOurMenuBar();
delete timer;
}
+void Interface::Init()
+{
+ /* Misc init */
+ SetupHotkeys();
+}
+
void Interface::Update()
{
/* Misc updates */
#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 );
wxU(_("&Undock Ext. GUI") ) );
if( b_undock ) p_settings_menu->Check( Undock_Event, TRUE );
#endif
- p_settings_menu->AppendCheckItem( Bookmarks_Event,
- wxU(_("&Bookmarks...") ) );
+ p_settings_menu->Append( Bookmarks_Event, wxU(_("&Bookmarks...") ) );
p_settings_menu->Append( Prefs_Event, wxU(_("&Preferences...")) );
}
void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )
{
wxString msg;
- msg.Printf( wxString(wxT("VLC media player " VERSION)) +
+ msg.Printf( wxString(wxT("VLC media player " PACKAGE_VERSION)) +
wxU(_(" (wxWindows interface)\n\n")) +
wxU(_("(c) 1996-2004 - the VideoLAN Team\n\n")) +
wxU( vlc_wraptext(INTF_ABOUT_MSG,WRAPCOUNT,ISUTF8) ) + wxT("\n\n") +