corrected scoping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -68,6 +68,7 @@ pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessa
|
|||||||
switch( iMessage )
|
switch( iMessage )
|
||||||
{
|
{
|
||||||
case kControlMsgSetUpBackground :
|
case kControlMsgSetUpBackground :
|
||||||
|
{
|
||||||
wxControl* wx = (wxControl*) GetControlReference( iControl ) ;
|
wxControl* wx = (wxControl*) GetControlReference( iControl ) ;
|
||||||
if ( wx != NULL && wx->IsKindOf( CLASSINFO( wxControl ) ) )
|
if ( wx != NULL && wx->IsKindOf( CLASSINFO( wxControl ) ) )
|
||||||
{
|
{
|
||||||
@@ -78,6 +79,7 @@ pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessa
|
|||||||
{
|
{
|
||||||
status = paramErr ;
|
status = paramErr ;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break ;
|
break ;
|
||||||
default :
|
default :
|
||||||
status = paramErr ;
|
status = paramErr ;
|
||||||
|
@@ -68,6 +68,7 @@ pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessa
|
|||||||
switch( iMessage )
|
switch( iMessage )
|
||||||
{
|
{
|
||||||
case kControlMsgSetUpBackground :
|
case kControlMsgSetUpBackground :
|
||||||
|
{
|
||||||
wxControl* wx = (wxControl*) GetControlReference( iControl ) ;
|
wxControl* wx = (wxControl*) GetControlReference( iControl ) ;
|
||||||
if ( wx != NULL && wx->IsKindOf( CLASSINFO( wxControl ) ) )
|
if ( wx != NULL && wx->IsKindOf( CLASSINFO( wxControl ) ) )
|
||||||
{
|
{
|
||||||
@@ -78,6 +79,7 @@ pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessa
|
|||||||
{
|
{
|
||||||
status = paramErr ;
|
status = paramErr ;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break ;
|
break ;
|
||||||
default :
|
default :
|
||||||
status = paramErr ;
|
status = paramErr ;
|
||||||
|
Reference in New Issue
Block a user