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:
Włodzimierz Skiba
2006-05-30 13:43:18 +00:00
parent a245fd31a6
commit 851dee09b5
16 changed files with 32 additions and 29 deletions

View File

@@ -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);