Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a bit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-11-15 10:34:36 +00:00
parent 77db639d44
commit e9cc4973ff
4 changed files with 32 additions and 18 deletions

View File

@@ -27,6 +27,7 @@
extern WXDLLIMPEXP_DATA_PROPGRID(const char) wxPropertyGridNameStr[];
#endif
class wxPGComboBox;
// -----------------------------------------------------------------------
// Global variables
@@ -1219,8 +1220,11 @@ public:
void IncFrozen() { m_frozen++; }
void DecFrozen() { m_frozen--; }
void OnComboItemPaint( wxPGCustomComboControl* pCb,int item,wxDC& dc,
wxRect& rect,int flags );
void OnComboItemPaint( const wxPGComboBox* pCb,
int item,
wxDC* pDc,
wxRect& rect,
int flags );
/** Standardized double-to-string conversion.
*/