]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
fix for wxComboBox::GetSelection from inside event handler
[wxWidgets.git] / src / generic / treectlg.cpp
index 34c4ccd440b85f1a5547d82f635183828d9857b7..3176b1eb9280dd407f86ef7e2933c929381d3e47 100644 (file)
@@ -664,7 +664,7 @@ bool wxGenericTreeCtrl::Create(wxWindow *parent,
     SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_LISTBOX ) );
 
 //  m_dottedPen = wxPen( "grey", 0, wxDOT );  too slow under XFree86
-    m_dottedPen = wxPen( "grey", 0, 0 );
+    m_dottedPen = wxPen( wxT("grey"), 0, 0 );
 
     return TRUE;
 }