Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@ wxResourceCache *wxTheResourceCache = (wxResourceCache *) NULL;
|
||||
XrmDatabase wxResourceDatabase;
|
||||
|
||||
/* Useful buffer, initialized in wxCommonInit */
|
||||
char *wxBuffer = (char *) NULL;
|
||||
wxChar *wxBuffer = (wxChar *) NULL;
|
||||
|
||||
/* Windows List */
|
||||
wxWindowList wxTopLevelWindows;
|
||||
|
@@ -401,7 +401,7 @@ GdkAtom wxDropTarget::GetMatchingPair()
|
||||
wxDataFormat format( formatAtom );
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
wxLogDebug("Drop target: drag has format: %s", format.GetId().c_str() );
|
||||
wxLogDebug( wxT("Drop target: drag has format: %s"), format.GetId().c_str() );
|
||||
#endif // Debug
|
||||
|
||||
if (m_dataObject->IsSupportedFormat( format ))
|
||||
|
@@ -165,7 +165,7 @@ void wxSpinCtrl::SetValue( const wxString& value )
|
||||
else
|
||||
{
|
||||
// invalid number - set text as is (wxMSW compatible)
|
||||
gtk_entry_set_text( GTK_ENTRY(m_widget), value.c_str() );
|
||||
gtk_entry_set_text( GTK_ENTRY(m_widget), value.mbc_str() );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user