X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..edc09871744140f16b2ef6b7abaa2289d7deb260:/src/x11/toplevel.cpp diff --git a/src/x11/toplevel.cpp b/src/x11/toplevel.cpp index 89d0f13189..0f7e4a9b4d 100644 --- a/src/x11/toplevel.cpp +++ b/src/x11/toplevel.cpp @@ -24,18 +24,19 @@ #pragma hdrstop #endif +#include "wx/toplevel.h" + #ifndef WX_PRECOMP #include "wx/app.h" - #include "wx/toplevel.h" #include "wx/string.h" #include "wx/log.h" #include "wx/intl.h" #include "wx/frame.h" #include "wx/menu.h" #include "wx/statusbr.h" + #include "wx/settings.h" #endif //WX_PRECOMP -#include "wx/settings.h" #include "wx/x11/private.h" #include "X11/Xutil.h" @@ -372,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();