]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
added the static function GetLabelText() to wxStaticText which was mentioned in the...
[wxWidgets.git] / src / x11 / toplevel.cpp
index 58248bf16fd686b373b5423ec6f571cea0e18eba..0f7e4a9b4d304e5aa6f85f7dfd308842d6e55a1d 100644 (file)
@@ -373,8 +373,7 @@ void wxTopLevelWindowX11::DoSetIcon(const wxIcon& icon)
 {
     if (icon.Ok() && GetMainWindow())
     {
-#if wxUSE_NANOX
-#else
+#if !wxUSE_NANOX
         XWMHints *wmHints = XAllocWMHints();
         wmHints->icon_pixmap = (Pixmap) icon.GetPixmap();