Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
SVN Commit by dpage: r4851 - branches/REL-1_4_0_PATCHES/pgadmin3/src/inc

SVN Commit by dpage: r4851 - branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl



Author: dpage
Date: 2005-12-21 14:10:30 +0000 (Wed, 21 Dec 2005)
New Revision: 4851

Modified:
   branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h
Log:
wxMac combo box fix


Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h	2005-12-21 13:11:03 UTC (rev 4850)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/include/ctl/ctlComboBox.h	2005-12-21 14:10:30 UTC (rev 4851)
@@ -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(); }




Home | Main Index | Thread Index

top