Include wx/scrolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,12 +41,12 @@
|
||||
#include "wx/timer.h"
|
||||
#include "wx/settings.h"
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/scrolbar.h"
|
||||
#endif
|
||||
|
||||
#include "wx/layout.h"
|
||||
#include "wx/listbox.h"
|
||||
#include "wx/scrolwin.h"
|
||||
#include "wx/scrolbar.h"
|
||||
#include "wx/module.h"
|
||||
#include "wx/menuitem.h"
|
||||
#include "wx/fontutil.h"
|
||||
@@ -1111,7 +1111,7 @@ void wxWindowX11::GetTextExtent(const wxString& string,
|
||||
|
||||
int direction, ascent, descent2;
|
||||
XCharStruct overall;
|
||||
int slen = string.Len();
|
||||
int slen = string.length();
|
||||
|
||||
XTextExtents((XFontStruct*) pFontStruct, (char*) string.c_str(), slen,
|
||||
&direction, &ascent, &descent2, &overall);
|
||||
|
Reference in New Issue
Block a user