corrected access to NULL parameters in wxGetOsVersion
replaced wxMACINTOSH with wxMAC and wxMAC_DARWIN to differentiate return value of wxGetOsVersion according to whether Mac paths or Unix paths are used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1503,7 +1503,8 @@ void wxWindowBase::OnMiddleClick( wxMouseEvent& event )
|
||||
switch ( wxGetOsVersion() )
|
||||
{
|
||||
case wxMOTIF_X: port = _T("Motif"); break;
|
||||
case wxMACINTOSH: port = _T("Mac"); break;
|
||||
case wxMAC:
|
||||
case wxMAC_DARWIN: port = _T("Mac"); break;
|
||||
case wxBEOS: port = _T("BeOS"); break;
|
||||
case wxGTK:
|
||||
case wxGTK_WIN32:
|
||||
|
Reference in New Issue
Block a user