minor improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
wxNativePixelData data(bmp);
|
||||
if ( !data )
|
||||
{
|
||||
... raw access to bitmap data unavailable, do something else ...
|
||||
// ... raw access to bitmap data unavailable, do something else ...
|
||||
return;
|
||||
}
|
||||
|
||||
if ( data.GetWidth() < 20 || data.GetHeight() < 20 )
|
||||
{
|
||||
... complain: the bitmap it too small ...
|
||||
// ... complain: the bitmap it too small ...
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user