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:
Artur Wieczorek
2015-07-17 22:29:37 +02:00
parent 15d8dae6ff
commit a0afc17c75
2 changed files with 3 additions and 1 deletions

View File

@@ -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);