Include wx/utils.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-02 10:39:23 +00:00
parent a8461d3170
commit de6185e212
138 changed files with 642 additions and 534 deletions

View File

@@ -29,9 +29,13 @@
#include <ctype.h>
#include "wx/textctrl.h"
#ifndef WX_PRECOMP
#include "wx/utils.h"
#endif
#include "wx/settings.h"
#include "wx/filefn.h"
#include "wx/utils.h"
#ifdef __VMS__
#pragma message disable nosimpint
@@ -163,8 +167,8 @@ bool wxTextCtrl::Create(wxWindow *parent,
#if 0
// TODO: Is this relevant? What does it do?
int noCols = 2;
if (!value.IsNull() && (value.Length() > (unsigned int) noCols))
noCols = value.Length();
if (!value.IsNull() && (value.length() > (unsigned int) noCols))
noCols = value.length();
XtVaSetValues((Widget) m_mainWidget,
XmNcolumns, noCols,
NULL);