summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tools/rcid.h2
-rw-r--r--rsc/source/parser/rscinit.cxx9
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 );