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