]> git.saurik.com Git - wxWidgets.git/commitdiff
removing rtti special functions
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 19 Aug 2003 17:28:34 +0000 (17:28 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 19 Aug 2003 17:28:34 +0000 (17:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/combobox.h
include/wx/msw/listbox.h
src/msw/combobox.cpp
src/msw/listbox.cpp

index a03308299197c329cc68fbf2d66c4ee26e196980..a369165d75fae3812109200127966ad3b8febd31 100644 (file)
@@ -69,8 +69,6 @@ public:
     virtual void Replace(long from, long to, const wxString& value);
     virtual void Remove(long from, long to);
     virtual void SetSelection(int n) { wxChoice::SetSelection(n); }
-    // rtti needs a function with just one signature
-    void SetSelectionLine(int n) { SetSelection( n ) ; }
     virtual void SetSelection(long from, long to);
     virtual void SetEditable(bool editable);
 
index a994417d49b4ced71c1947458fbc2cfc90f07489..ad18e8530ee97fef31327869a9852c473c9d28e1 100644 (file)
@@ -75,8 +75,6 @@ public:
 
     virtual bool IsSelected(int n) const;
     virtual void SetSelection(int n, bool select = TRUE);
-    // rtti needs a function with just one signature
-    void SetSelectionLine(int n) { SetSelection( n ) ; }
     virtual int GetSelection() const;
     virtual int GetSelections(wxArrayInt& aSelections) const;
 
index db4773dffb18623775cd2ab001e8d2223a91d3bc..ff22aac51d972f436474804cc0678631b21230b3 100644 (file)
@@ -61,7 +61,7 @@ WX_BEGIN_PROPERTIES_TABLE(wxComboBox)
        WX_PROPERTY( Font , wxFont , SetFont , GetFont  , )
     WX_PROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings )
        WX_PROPERTY( Value ,wxString, SetValue, GetValue, )
-       WX_PROPERTY( Selection ,int, SetSelectionLine, GetSelection, )
+       WX_PROPERTY( Selection ,int, SetSelection, GetSelection, )
 WX_END_PROPERTIES_TABLE()
 
 WX_BEGIN_HANDLERS_TABLE(wxComboBox)
index f317e83e14a8266a93e9c57cac4c36c83f34b61a..9b06a34e94bda0580c122bc6437f05a281025ed7 100644 (file)
@@ -54,7 +54,7 @@ WX_BEGIN_PROPERTIES_TABLE(wxListBox)
     // TODO DELEGATES
        WX_PROPERTY( Font , wxFont , SetFont , GetFont  , )
     WX_PROPERTY_COLLECTION( Choices , wxArrayString , wxString , AppendString , GetStrings )
-       WX_PROPERTY( Selection ,int, SetSelectionLine, GetSelection, )
+       WX_PROPERTY( Selection ,int, SetSelection, GetSelection, )
 WX_END_PROPERTIES_TABLE()
 
 WX_BEGIN_HANDLERS_TABLE(wxListBox)