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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-30 07:34:30 +00:00
parent e031f1df56
commit b36e08d086
11 changed files with 29 additions and 24 deletions

View File

@@ -31,10 +31,10 @@
#include "wx/msgdlg.h"
#include "wx/bmpbuttn.h"
#include "wx/checkbox.h"
#include "wx/choice.h"
#endif
#include "wx/textctrl.h"
#include "wx/choice.h"
#include "wx/stattext.h"
#include "wx/longlong.h"
#include "wx/sizer.h"
@@ -733,7 +733,7 @@ void wxFileCtrl::GoToParentDir()
{
if (!IsTopMostDir(m_dirName))
{
size_t len = m_dirName.Len();
size_t len = m_dirName.length();
if (wxEndsWithPathSeparator(m_dirName))
m_dirName.Remove( len-1, 1 );
wxString fname( wxFileNameFromPath(m_dirName) );
@@ -1027,7 +1027,7 @@ bool wxGenericFileDialog::Create( wxWindow *parent,
m_dir = wxFILE_SEP_PATH;
}
size_t len = m_dir.Len();
size_t len = m_dir.length();
if ((len > 1) && (wxEndsWithPathSeparator(m_dir)))
m_dir.Remove( len-1, 1 );