]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ustring.cpp
make code dealing with wxUSE_IDLEMENUUPDATES a bit more clear and avoid warning due...
[wxWidgets.git] / src / common / ustring.cpp
index b3176323ee998ecd8885eb23abaa750ea2d8a5ba..a9b9241eb475551e2e43486503eaf6a1a64f5fc3 100644 (file)
     #pragma hdrstop
 #endif
 
+#include "wx/ustring.h"
+
 #ifndef WX_PRECOMP
-    #include "wx/strconv.h"  // wxConvLibc
+    #include "wx/crt.h"
     #include "wx/log.h"
 #endif
 
-#include "wx/ustring.h"
-#include "wx/unichar.h"
-#include "wx/string.h"
-
-
 wxUString &wxUString::assignFromAscii( const char *str )
 {
    size_type len = wxStrlen( str );
@@ -545,16 +542,3 @@ wxU16CharBuffer wxUString::utf16_str() const
     
     return result;    
 }
-
-
-#if SIZEOF_WCHAR_T != 2
-template<>
-wxCharTypeBuffer<wxChar16>::Data
-wxCharTypeBuffer<wxChar16>::NullData(NULL);
-#endif
-
-#if SIZEOF_WCHAR_T != 4
-template<>
-wxCharTypeBuffer<wxChar32>::Data
-wxCharTypeBuffer<wxChar32>::NullData(NULL);
-#endif