[vlc-devel] commit: Fix compilation with wx 2.8 ( Rafaël Carré )

git version control git at videolan.org
Sun May 25 15:26:32 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Sun May 25 15:28:04 2008 +0200| [78d90067a8b0e9cee99d2d58ddb6ec6125b87c8c]

Fix compilation with wx 2.8

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78d90067a8b0e9cee99d2d58ddb6ec6125b87c8c
---

 modules/gui/wxwidgets/dialogs.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/wxwidgets/dialogs.cpp b/modules/gui/wxwidgets/dialogs.cpp
index aa82e85..9cd3673 100644
--- a/modules/gui/wxwidgets/dialogs.cpp
+++ b/modules/gui/wxwidgets/dialogs.cpp
@@ -376,7 +376,7 @@ void DialogsProvider::OnOpenFileGeneric( wxCommandEvent& event )
     {
         p_file_generic_dialog->SetMessage( wxU(p_arg->psz_title) );
         p_file_generic_dialog->SetWildcard( wxU(p_arg->psz_extensions) );
-        p_file_generic_dialog->SetStyle( (p_arg->b_save ? wxSAVE : wxOPEN) |
+        p_file_generic_dialog->SetWindowStyle( (p_arg->b_save ? wxSAVE : wxOPEN) |
                                          (p_arg->b_multiple ? wxMULTIPLE:0) );
     }
 




More information about the vlc-devel mailing list