Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -203,6 +203,7 @@ int wxGetOsVersion(int *majorVsn, int *minorVsn)
|
|||||||
*minorVsn = ProtocolRevision (display);
|
*minorVsn = ProtocolRevision (display);
|
||||||
|
|
||||||
return wxMOTIF_X;
|
return wxMOTIF_X;
|
||||||
|
#endif
|
||||||
#ifdef __WXX11__
|
#ifdef __WXX11__
|
||||||
if (majorVsn)
|
if (majorVsn)
|
||||||
*majorVsn = 0;
|
*majorVsn = 0;
|
||||||
@@ -633,8 +634,9 @@ WXDisplay *wxGetDisplay()
|
|||||||
return XtDisplay ((Widget) wxTheApp->GetTopLevelWidget());
|
return XtDisplay ((Widget) wxTheApp->GetTopLevelWidget());
|
||||||
else if (wxTheApp)
|
else if (wxTheApp)
|
||||||
return wxTheApp->GetInitialDisplay();
|
return wxTheApp->GetInitialDisplay();
|
||||||
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXX11__
|
||||||
return wxApp::GetDisplay();
|
return wxApp::GetDisplay();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user