This is the way to go (well, close enough).
Unicodified lots of asserts. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,7 +111,7 @@ int wxBrush::GetStyle() const
|
||||
{
|
||||
if (m_refData == NULL)
|
||||
{
|
||||
wxFAIL_MSG( "invalid brush" );
|
||||
wxFAIL_MSG( _T("invalid brush") );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ wxColour &wxBrush::GetColour() const
|
||||
{
|
||||
if (m_refData == NULL)
|
||||
{
|
||||
wxFAIL_MSG( "invalid brush" );
|
||||
wxFAIL_MSG( _T("invalid brush") );
|
||||
return wxNullColour;
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ wxBitmap *wxBrush::GetStipple() const
|
||||
{
|
||||
if (m_refData == NULL)
|
||||
{
|
||||
wxFAIL_MSG( "invalid brush" );
|
||||
wxFAIL_MSG( _T("invalid brush") );
|
||||
return &wxNullBitmap;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user