diff --git a/src/propgrid/advprops.cpp b/src/propgrid/advprops.cpp index 852d91790f..bb24293998 100644 --- a/src/propgrid/advprops.cpp +++ b/src/propgrid/advprops.cpp @@ -877,7 +877,6 @@ void wxFontProperty::OnCustomPaint(wxDC& dc, #include "wx/colordlg.h" -//#define wx_cp_es_syscolours_len 25 static const char* const gs_cp_es_syscolour_labels[] = { /* TRANSLATORS: Keyword of system colour */ wxTRANSLATE("AppWorkspace"), /* TRANSLATORS: Keyword of system colour */ wxTRANSLATE("ActiveBorder"), @@ -1758,7 +1757,6 @@ wxVariant wxColourProperty::DoTranslateVal( wxColourPropertyValue& v ) const #define NUM_CURSORS 28 -//#define wx_cp_es_syscursors_len 28 static const char* const gs_cp_es_syscursors_labels[NUM_CURSORS+1] = { /* TRANSLATORS: System cursor name */ wxTRANSLATE("Default"), /* TRANSLATORS: System cursor name */ wxTRANSLATE("Arrow"), diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 0563e5a49e..c012bbd792 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -87,28 +87,12 @@ #endif -//#define wxPG_TEXT_INDENT 4 // For the wxComboControl -//#define wxPG_ALLOW_CLIPPING 1 // If 1, GetUpdateRegion() in OnPaint event handler is not ignored #define wxPG_GUTTER_DIV 3 // gutter is max(iconwidth/gutter_div,gutter_min) #define wxPG_GUTTER_MIN 3 // gutter before and after image of [+] or [-] #define wxPG_YSPACING_MIN 1 #define wxPG_DEFAULT_VSPACING 2 // This matches .NET propertygrid's value, // but causes normal combobox to spill out under MSW - -//#define wxPG_OPTIMAL_WIDTH 200 // Arbitrary - -//#define wxPG_MIN_SCROLLBAR_WIDTH 10 // Smallest scrollbar width on any platform - // Must be larger than largest control border - // width * 2. - - #define wxPG_DEFAULT_CURSOR wxNullCursor - - -//#define wxPG_NAT_CHOICE_BORDER_ANY 0 - -//#define wxPG_HIDER_BUTTON_HEIGHT 25 - #define wxPG_PIXELS_PER_UNIT m_lineHeight #ifdef wxPG_ICON_WIDTH