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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-06-13 20:44:51 +00:00
parent cffdf649a9
commit 1832043f93
31 changed files with 56 additions and 43 deletions

View File

@@ -24,6 +24,7 @@
#include "wx/menu.h"
#include "wx/settings.h"
#include "wx/msgdlg.h"
#include "wx/toplevel.h"
#endif
#ifdef __DARWIN__
@@ -41,7 +42,6 @@
#endif
#endif
#include "wx/toplevel.h"
#include "wx/filefn.h"
#include "wx/sysopt.h"
@@ -1555,7 +1555,7 @@ void wxMacUnicodeTextControl::SetSelection( long from , long to )
if ( value )
{
wxMacCFStringHolder cf(value) ;
textLength = cf.AsString().Length() ;
textLength = cf.AsString().length() ;
}
if ((from == -1) && (to == -1))
@@ -2210,7 +2210,7 @@ void wxMacMLTEControl::SetTXNData( const wxString& st, TXNOffset start, TXNOffse
{
#if wxUSE_UNICODE
#if SIZEOF_WCHAR_T == 2
size_t len = st.Len() ;
size_t len = st.length() ;
TXNSetData( m_txn, kTXNUnicodeTextData, (void*)st.wc_str(), len * 2, start, end );
#else
wxMBConvUTF16 converter ;