diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-27 08:56:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-27 10:18:32 +0100 |
commit | 54806224e3053133ab4ec3875b7a0bc3c496c052 (patch) | |
tree | 402470da63fdf26b1b4f63fd06e7bb53dd8524c7 | |
parent | 53617c8651274e581cc1b55c9705c54e03f93879 (diff) |
OKButtons no longer loaded from resource files
Change-Id: Ice1d71e730519697c891d66909550876c9d23ebb
-rw-r--r-- | include/tools/rcid.h | 2 | ||||
-rw-r--r-- | rsc/source/parser/rscinit.cxx | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h index 5ac6a999e7dd..b1ba81b4a59f 100644 --- a/include/tools/rcid.h +++ b/include/tools/rcid.h @@ -56,7 +56,7 @@ #define RSC_CONTROL (RSC_NOTYPE + 0x44) #define RSC_BUTTON (RSC_NOTYPE + 0x45) #define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46) -#define RSC_OKBUTTON (RSC_NOTYPE + 0x47) + #define RSC_CANCELBUTTON (RSC_NOTYPE + 0x48) #define RSC_HELPBUTTON (RSC_NOTYPE + 0x49) #define RSC_IMAGEBUTTON (RSC_NOTYPE + 0x4a) diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx index c8ebfbfb643a..56b56eca4739 100644 --- a/rsc/source/parser/rscinit.cxx +++ b/rsc/source/parser/rscinit.cxx @@ -73,7 +73,6 @@ void RscTypCont::Init() RscTop * pClassButton; RscTop * pClassCheckBox; RscTop * pClassPushButton; - RscTop * pClassOKButton; RscTop * pClassCancelButton; RscTop * pClassHelpButton; RscTop * pClassRadioButton; @@ -375,14 +374,6 @@ void RscTypCont::Init() pRoot->Insert( pClassHelpButton ); // Klasse anlegen - nId = pHS->getID( "OKButton" ); - pClassOKButton = new RscClass( nId, RSC_OKBUTTON, - pClassPushButton ); - pClassOKButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType ); - aNmTb.Put( nId, CLASSNAME, pClassOKButton ); - pRoot->Insert( pClassOKButton ); - - // Klasse anlegen nId = pHS->getID( "CancelButton" ); pClassCancelButton = new RscClass( nId, RSC_CANCELBUTTON, pClassPushButton ); |