Thread: SVN Commit by andreas: r4850 - trunk/pgadmin3/src/include/ctl

SVN Commit by andreas: r4850 - trunk/pgadmin3/src/include/ctl

From
svn@pgadmin.org
Date:
Author: andreas
Date: 2005-12-21 13:11:03 +0000 (Wed, 21 Dec 2005)
New Revision: 4850

Modified:
   trunk/pgadmin3/src/include/ctl/ctlComboBox.h
Log:
wxMac wxComboBox fix

Modified: trunk/pgadmin3/src/include/ctl/ctlComboBox.h
===================================================================
--- trunk/pgadmin3/src/include/ctl/ctlComboBox.h    2005-12-20 20:54:32 UTC (rev 4849)
+++ trunk/pgadmin3/src/include/ctl/ctlComboBox.h    2005-12-21 13:11:03 UTC (rev 4850)
@@ -25,7 +25,7 @@
 public:
     ctlComboBoxFix(wxWindow *wnd, int id, wxPoint pos, wxSize siz, long attr);

-#if wxCHECK_VERSION(2,6,2)
+#if wxCHECK_VERSION(2,6,2) && !defined(__WXMAC__)
     // we have GetCurrentSelection() in wxChoice, implementing the old GetSelection() semantics
 #else
     int GetCurrentSelection() const { return wxComboBox::GetSelection(); }