A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -580,11 +580,6 @@ NULL = None # For backwards compatibility only. You should really be
|
||||
wxColor = wxColour
|
||||
wxNamedColor = wxNamedColour
|
||||
|
||||
wxPyListCtrlPtr = wxListCtrlPtr
|
||||
wxPyTreeCtrlPtr = wxTreeCtrlPtr
|
||||
wxGenericDragImagePtr = wxDragImagePtr
|
||||
wxPyProcessPtr = wxProcessPtr
|
||||
|
||||
|
||||
# backwards compatibility
|
||||
wxNoRefBitmap = wxBitmap
|
||||
@@ -592,6 +587,7 @@ wxPyDefaultPosition = wxDefaultPosition
|
||||
wxPyDefaultSize = wxDefaultSize
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# wxGTK sets the locale when initialized. Doing this at the Python
|
||||
# level should set it up to match what GTK is doing at the C level.
|
||||
try:
|
||||
@@ -601,6 +597,19 @@ except:
|
||||
pass
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# wxWindows version numbers. wxPython version is in __version__.
|
||||
|
||||
wxMAJOR_VERSION = wxc.wxMAJOR_VERSION
|
||||
wxMINOR_VERSION = wxc.wxMINOR_VERSION
|
||||
wxRELEASE_NUMBER = wxc.wxRELEASE_NUMBER
|
||||
wxVERSION_STRING = wxc.wxVERSION_STRING
|
||||
wxVERSION_NUMBER = wxc.wxVERSION_NUMBER
|
||||
|
||||
wxVERSION = (wxMAJOR_VERSION, wxMINOR_VERSION, wxRELEASE_NUMBER)
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
# This helper function will take a wxPython object and convert it to
|
||||
# another wxPython object type. This will not be able to create objects
|
||||
|
Reference in New Issue
Block a user