#if wxUSE_CHOICE
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
- #include "wx/choice.h"
#include "wx/arrstr.h"
#endif //WX_PRECOMP
/////////////////////////////////////////////////////////////////////////////
-// Name: common/choiccmn.cpp
+// Name: src/common/choiccmn.cpp
// Purpose: common (to all ports) wxChoice functions
// Author: Vadim Zeitlin
// Modified by:
#if wxUSE_CHOICE
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#endif
const wxChar wxChoiceNameStr[] = wxT("choice");
}
#endif // wxUSE_CHOICE
-
#ifndef WX_PRECOMP
#include "wx/settings.h"
+ #include "wx/choice.h"
#endif
-#include "wx/choice.h"
#include "wx/imaglist.h"
#include "wx/sizer.h"
#include "wx/settings.h"
#include "wx/msgdlg.h"
#include "wx/cmndata.h"
+ #include "wx/choice.h"
#endif
#include "wx/module.h"
#include "wx/artprov.h"
#include "wx/mimetype.h"
#include "wx/image.h"
-#include "wx/choice.h"
#if wxUSE_STATLINE
#include "wx/statline.h"
#ifdef __WATCOMC__
wxUnusedVar(dirName);
#else
- if ( dirName.Len() == 3 && dirName[1u] == wxT(':') )
+ if ( dirName.length() == 3 && dirName[1u] == wxT(':') )
{
wxString dirNameLower(dirName.Lower());
// VS: always return true for removable media, since Win95 doesn't
// Check if this is a root directory and if so,
// whether the drive is available.
- if (dirName.Len() == 3 && dirName[(size_t)1] == wxT(':'))
+ if (dirName.length() == 3 && dirName[(size_t)1] == wxT(':'))
{
wxString dirNameLower(dirName.Lower());
#if defined(__GNUWIN32__) && !(defined(__MINGW32_MAJOR_VERSION) && __MINGW32_MAJOR_VERSION >= 1)
childPath.MakeLower();
#endif
- if (childPath.Len() <= path2.Len())
+ if (childPath.length() <= path2.length())
{
- wxString path3 = path2.Mid(0, childPath.Len());
+ wxString path3 = path2.Mid(0, childPath.length());
if (childPath == path3)
{
- if (path3.Len() == path2.Len())
+ if (path3.length() == path2.length())
done = true;
else
done = false;
#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"
{
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) );
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 );
#if wxUSE_CHOICE && !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#include "wx/utils.h"
#include "wx/log.h"
#include "wx/brush.h"
#if wxUSE_CHOICE && defined(__SMARTPHONE__) && defined(__WXWINCE__)
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#include <commctrl.h>
#include "wx/msw/missing.h"
#include "wx/msw/winundef.h"
#if wxUSE_CHOICE
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#include "wx/utils.h"
#include "wx/log.h"
#include "wx/settings.h"
#if wxUSE_CHOICE
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#include "wx/utils.h"
#include "wx/log.h"
#include "wx/brush.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: univ/choice.cpp
+// Name: src/univ/choice.cpp
// Purpose: wxChoice implementation
// Author: Vadim Zeitlin
// Modified by:
#if wxUSE_CHOICE
+#include "wx/choice.h"
+
#ifndef WX_PRECOMP
- #include "wx/choice.h"
#include "wx/arrstr.h"
#endif
#pragma hdrstop
#endif
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_CHOICE
#include "wx/xrc/xh_choic.h"
#ifndef WX_PRECOMP
#include "wx/intl.h"
+ #include "wx/choice.h"
#endif
-#include "wx/choice.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxChoiceXmlHandler, wxXmlResourceHandler)
wxChoiceXmlHandler::wxChoiceXmlHandler()
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_CHOICE