Use wxNullBitmap explicitly instead of wxPG_NULL_BITMAP.
wxPG_NULL_BITMAP macro is not useful because is used only once. In the rest of wxPG code wxNullBitmap is used explicitly many times so for the sake of consistency we can resign from using this macro.
This commit is contained in:
@@ -266,7 +266,7 @@ public:
|
||||
switching.
|
||||
*/
|
||||
wxPropertyGridPage* AddPage( const wxString& label = wxEmptyString,
|
||||
const wxBitmap& bmp = wxPG_NULL_BITMAP,
|
||||
const wxBitmap& bmp = wxNullBitmap,
|
||||
wxPropertyGridPage* pageObj = NULL )
|
||||
{
|
||||
return InsertPage(-1, label, bmp, pageObj);
|
||||
|
Reference in New Issue
Block a user