Kaydet (Commit) 54806224 authored tarafından Caolán McNamara's avatar Caolán McNamara

OKButtons no longer loaded from resource files

Change-Id: Ice1d71e730519697c891d66909550876c9d23ebb
üst 53617c86
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#define RSC_CONTROL (RSC_NOTYPE + 0x44) #define RSC_CONTROL (RSC_NOTYPE + 0x44)
#define RSC_BUTTON (RSC_NOTYPE + 0x45) #define RSC_BUTTON (RSC_NOTYPE + 0x45)
#define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46) #define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46)
#define RSC_OKBUTTON (RSC_NOTYPE + 0x47)
#define RSC_CANCELBUTTON (RSC_NOTYPE + 0x48) #define RSC_CANCELBUTTON (RSC_NOTYPE + 0x48)
#define RSC_HELPBUTTON (RSC_NOTYPE + 0x49) #define RSC_HELPBUTTON (RSC_NOTYPE + 0x49)
#define RSC_IMAGEBUTTON (RSC_NOTYPE + 0x4a) #define RSC_IMAGEBUTTON (RSC_NOTYPE + 0x4a)
......
...@@ -73,7 +73,6 @@ void RscTypCont::Init() ...@@ -73,7 +73,6 @@ void RscTypCont::Init()
RscTop * pClassButton; RscTop * pClassButton;
RscTop * pClassCheckBox; RscTop * pClassCheckBox;
RscTop * pClassPushButton; RscTop * pClassPushButton;
RscTop * pClassOKButton;
RscTop * pClassCancelButton; RscTop * pClassCancelButton;
RscTop * pClassHelpButton; RscTop * pClassHelpButton;
RscTop * pClassRadioButton; RscTop * pClassRadioButton;
...@@ -374,14 +373,6 @@ void RscTypCont::Init() ...@@ -374,14 +373,6 @@ void RscTypCont::Init()
aNmTb.Put( nId, CLASSNAME, pClassHelpButton ); aNmTb.Put( nId, CLASSNAME, pClassHelpButton );
pRoot->Insert( pClassHelpButton ); 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 // Klasse anlegen
nId = pHS->getID( "CancelButton" ); nId = pHS->getID( "CancelButton" );
pClassCancelButton = new RscClass( nId, RSC_CANCELBUTTON, pClassCancelButton = new RscClass( nId, RSC_CANCELBUTTON,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment