Various compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,11 +38,9 @@
|
||||
#endif //WX_PRECOMP
|
||||
|
||||
#include "wx/x11/private.h"
|
||||
#include "X11/Xatom.h"
|
||||
#include "X11/Xutil.h"
|
||||
|
||||
// list of all frames and modeless dialogs
|
||||
// wxWindowList wxModelessWindows;
|
||||
|
||||
bool wxMWMIsRunning(Window w);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxTopLevelWindowX11 creation
|
||||
@@ -256,8 +254,7 @@ void wxTopLevelWindowX11::SetIcon(const wxIcon& icon)
|
||||
wmHints->icon_mask = (Pixmap) icon.GetMask()->GetPixmap();
|
||||
}
|
||||
|
||||
XSetWMHints(wxGlobalDisplay(), (Window) GetMainWindow(),
|
||||
wmHints);
|
||||
XSetWMHints(wxGlobalDisplay(), (Window) GetMainWindow(), wmHints);
|
||||
XFree(wmHints);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user