Pass correct length to XTextExtents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,7 +95,8 @@ bool wxTopLevelWindowX11::Create(wxWindow *parent,
|
||||
// TODO: For dialogs, this should be wxSYS_COLOUR_3DFACE
|
||||
m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE);
|
||||
m_backgroundColour.CalcPixel( (WXColormap) cm );
|
||||
|
||||
m_hasBgCol = TRUE;
|
||||
|
||||
XSetWindowAttributes xattributes;
|
||||
XSizeHints size_hints;
|
||||
XWMHints wm_hints;
|
||||
|
Reference in New Issue
Block a user