X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1832043f93af07af3f4891d9a95c4d4e1f70eec5..ab3a145407008f07e065f0b72bae9b8f88aeaf65:/src/x11/toplevel.cpp diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index 58248bf16f..0f7e4a9b4d 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -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();