added check for GTK 1.2
added symbol __WXGTK12__ (do not use GTK_MINOR_VERSION in your code as this is undefined anywhere outside wxGTK itself) updated wxGTK.spec for local builds fixed clipboard clear/setdata race test for wxConvLocal in dialogs sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,6 +47,10 @@ MyCanvas *myCanvas = (MyCanvas *) NULL;
|
||||
// `Main program' equivalent, creating windows and returning main app frame
|
||||
bool MyApp::OnInit(void)
|
||||
{
|
||||
#if defined(__WXGTK__) && defined(wxUSE_UNICODE)
|
||||
wxConvCurrent = &wxConvLocal;
|
||||
#endif
|
||||
|
||||
m_canvasTextColour = wxColour("BLACK");
|
||||
m_canvasFont = *wxNORMAL_FONT;
|
||||
|
||||
|
Reference in New Issue
Block a user