]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed typos
authorJulian Smart <julian@anthemion.co.uk>
Wed, 13 Feb 2002 17:16:46 +0000 (17:16 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 13 Feb 2002 17:16:46 +0000 (17:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/utils.cpp

index 6c2f0ecf76065e2d9aa5ce101752a6260c68dfcc..862f96e9cc19a81e8bc9b24e89d691e37ce578c4 100644 (file)
@@ -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
 }