do not use Ok(); use IsOk() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
overall theme, use:
|
||||
@code
|
||||
wxColour col = notebook->GetThemeBackgroundColour();
|
||||
if (col.Ok())
|
||||
if (col.IsOk())
|
||||
{
|
||||
page->SetBackgroundColour(col);
|
||||
}
|
||||
|
Reference in New Issue
Block a user