// Author: Jaakko Salli
// Modified by:
// Created: Aug-30-2006
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) Jaakko Salli
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#define wxGENERIC_BITMAPCOMBOBOX 1
-#if !wxUSE_ODCOMBOBOX
- #error "Generic wxBitmapComboBox depends on wxOwnerDrawnComboBox"
-#endif
-
#include "wx/odcombo.h"
-
// ----------------------------------------------------------------------------
// wxBitmapComboBox: a wxComboBox that allows images to be shown
// in front of string items.
virtual wxSize DoGetBestSize() const;
// Event handlers
- void OnResize(wxSizeEvent& event);
+ void OnSize(wxSizeEvent& event);
// Recalculates amount of empty space needed in front of
// text in control itself.
DECLARE_DYNAMIC_CLASS(wxBitmapComboBox)
};
-
-#endif
- // _WX_GENERIC_BMPCBOX_H_
+#endif // _WX_GENERIC_BMPCBOX_H_