summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-22 11:37:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-22 13:55:20 +0000
commit993fd27d3afddbaf6caaaf50d94bbbdb8b705514 (patch)
tree1582ac0d75a6fa8c051f4b2c1c1091641114daa7
parent60935c7319f1f12475b8f374fe02917673f352b8 (diff)
HelpButtons no longer loaded from .rsc files
Change-Id: I0fe82e319ac44a189e93fabd932e3e0a891598d2
-rw-r--r--include/tools/rcid.h1
-rw-r--r--rsc/source/parser/rscinit.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/include/tools/rcid.h b/include/tools/rcid.h
index 16ab69b92c09..eb54647b228e 100644
--- a/include/tools/rcid.h
+++ b/include/tools/rcid.h
@@ -55,7 +55,6 @@
#define RSC_BUTTON (RSC_NOTYPE + 0x45)
#define RSC_PUSHBUTTON (RSC_NOTYPE + 0x46)
-#define RSC_HELPBUTTON (RSC_NOTYPE + 0x49)
#define RSC_IMAGEBUTTON (RSC_NOTYPE + 0x4a)
#define RSC_SPINBUTTON (RSC_NOTYPE + 0x4d)
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 08056748264a..e4764636e40a 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 * pClassHelpButton;
RscTop * pClassRadioButton;
RscTop * pClassImageButton;
RscTop * pClassEdit;
@@ -362,14 +361,6 @@ void RscTypCont::Init()
// Klasse anlegen
pClassPushButton = InitClassPushButton( pClassButton );
pRoot->Insert( pClassPushButton );
-
- // Klasse anlegen
- nId = pHS->getID( "HelpButton" );
- pClassHelpButton = new RscClass( nId, RSC_HELPBUTTON,
- pClassPushButton );
- pClassHelpButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
- aNmTb.Put( nId, CLASSNAME, pClassHelpButton );
- pRoot->Insert( pClassHelpButton );
}
{
pClassRadioButton = InitClassRadioButton( pClassButton );