Changeset ab3e1260b7d6d342fb8e019144054b37026198fb

Show
Ignore:
Timestamp:
01/10/04 00:17:54 (4 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1096582674 +0000
git-parent:

[49abe97532f9af69b8a4bd3cb94e508bacde3f76]

git-author:
Gildas Bazin <gbazin@videolan.org> 1096582674 +0000
Message:

* modules/gui/wxwindows/*: win32 fixes with new wxWidgets.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/wxwindows/interface.cpp

    r4758ccb rab3e126  
    373373            22 /* approximate margin */; 
    374374#else 
     375#if (wxMAJOR_VERSION <= 2) && (wxMINOR_VERSION <= 5) && (wxRELEASE_NUMBER < 3) 
    375376            4 /* approximate margin */; 
     377#else 
     378            15 /* approximate margin */; 
     379#endif 
    376380#endif 
    377381    } 
  • modules/gui/wxwindows/preferences.cpp

    r4f249bf rab3e126  
    706706    b_advanced = VLC_TRUE; 
    707707    SetAutoLayout( TRUE ); 
     708    Hide(); 
    708709 
    709710    wxBoxSizer *sizer = new wxBoxSizer( wxVERTICAL ); 
     
    815816    sizer->Layout(); 
    816817    SetSizer( sizer ); 
     818    Show(); 
    817819} 
    818820 
  • modules/gui/wxwindows/wxwindows.cpp

    ra748c62 rab3e126  
    4040 
    4141/* Temporary hack */ 
    42 #if defined(WIN32) && defined(_WX_INIT_H_) 
     42#if defined(WIN32) && defined(_WX_INIT_H_)  
     43#if (wxMAJOR_VERSION <= 2) && (wxMINOR_VERSION <= 5) && (wxRELEASE_NUMBER < 3) 
    4344/* Hack to detect wxWindows 2.5 which has a different wxEntry() prototype */ 
    4445extern int wxEntry( HINSTANCE hInstance, HINSTANCE hPrevInstance = NULL, 
    4546                    char *pCmdLine = NULL, int nCmdShow = SW_NORMAL ); 
    4647#endif 
     48#endif 
     49 
    4750#ifdef SYS_DARWIN 
    4851int wxEntry( int argc, char *argv[] , bool enterLoop = TRUE );