]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/gtk/controls_wrap.cpp
Starting to update the tarball and rpm spec files for 2.5. Mostly
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
index e70b245734ff30d47204b22b32d5e389ce46b15f..acf7a3ad5680724f29c2733d50e84e11b2518dcd 100644 (file)
@@ -375,7 +375,7 @@ wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
         }
  static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr); 
  static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME); 
- static const wxString wxPySpinCtrlNameStr(wxT(_T("wxSpinCtrl"))); 
+ static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl")); 
 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
         }
  static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr); 
@@ -388,9 +388,9 @@ int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long
 
 
  static const wxString wxPySliderNameStr(wxSliderNameStr); 
- static const wxString wxPyToggleButtonNameStr(wxT(_T("wxToggleButton"))); 
+ static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton")); 
 
-#ifdef __WXMAC__
+#if defined(__WXMAC__) || defined(__WXX11__)
 // implement dummy classes and such for wxMac
 
 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
@@ -454,7 +454,7 @@ void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *client
 #include <wx/listctrl.h>
 
 
- static const wxString wxPyListCtrlNameStr(wxT(_T("wxListCtrl"))); 
+ static const wxString wxPyListCtrlNameStr(_T("wxListCtrl")); 
 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
  // Python aware sorting function for wxPyListCtrl
     static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
@@ -558,7 +558,7 @@ wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
 #include <wx/treectrl.h>
 #include "wx/wxPython/pytree.h"
 
- static const wxString wxPyTreeCtrlNameStr(wxT(_T("wxTreeCtrl"))); 
+ static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl")); 
 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
             if (!other) return False;
             return *self == *other;