From 9f861a7b4c09c893500ffbed8e30b23675987f4e Mon Sep 17 00:00:00 2001 From: macpgmr Date: Tue, 31 Jan 2012 14:33:14 +0000 Subject: [PATCH] Added TOvcSimpleField and TOvcTCSimpleField to palette for all platforms since Lazarus no longer crashes when they're used in form designer. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2274 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/orpheus/myovcreg.pas | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/components/orpheus/myovcreg.pas b/components/orpheus/myovcreg.pas index c7e50f47b..1fb75f5c7 100644 --- a/components/orpheus/myovcreg.pas +++ b/components/orpheus/myovcreg.pas @@ -146,9 +146,9 @@ begin RegisterPropertyEditor(TypeInfo(string), TOvcURL, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcSpinner, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcVirtualListBox, 'About', TOvcAboutProperty); -{$IFDEF MSWINDOWS} +//{$IFDEF MSWINDOWS} RegisterPropertyEditor(TypeInfo(string), TOvcSimpleField, 'About', TOvcAboutProperty); -{$ENDIF} +//{$ENDIF} RegisterPropertyEditor(TypeInfo(string), TO32FlexEdit, 'About', TOvcAboutProperty); // RegisterPropertyEditor(TypeInfo(string), TOvcCalculator, 'About', TOvcAboutProperty); // RegisterPropertyEditor(TypeInfo(string), TOvcColorComboBox, 'About', TOvcAboutProperty); @@ -156,9 +156,9 @@ begin RegisterPropertyEditor(TypeInfo(string), TOvcTCColHead, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCRowHead, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCString, 'About', TOvcAboutProperty); -{$IFDEF MSWINDOWS} +//{$IFDEF MSWINDOWS} RegisterPropertyEditor(TypeInfo(string), TOvcTCSimpleField, 'About', TOvcAboutProperty); -{$ENDIF} +//{$ENDIF} RegisterPropertyEditor(TypeInfo(string), TOvcTCMemo, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCCheckBox, 'About', TOvcAboutProperty); RegisterPropertyEditor(TypeInfo(string), TOvcTCComboBox, 'About', TOvcAboutProperty); @@ -206,9 +206,9 @@ begin RegisterComponents('Orpheus', [TOvcURL]); RegisterComponents('Orpheus', [TOvcSpinner]); RegisterComponents('Orpheus', [TOvcVirtualListBox]); -{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows +//{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows RegisterComponents('Orpheus', [TOvcSimpleField]); -{$ENDIF} +//{$ENDIF} RegisterComponents('Orpheus', [TO32FlexEdit]); RegisterComponents('Orpheus', [TOvcCalendar]); // RegisterComponents('Orpheus', [TOvcDateEdit]); //Needs ButtonOkay fixes like TO32FlexEdit @@ -218,9 +218,9 @@ begin RegisterComponents('Orpheus', [TOvcTCColHead]); RegisterComponents('Orpheus', [TOvcTCRowHead]); RegisterComponents('Orpheus', [TOvcTCString]); -{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows +//{$IFDEF MSWINDOWS} //If used, crashes IDE with GTK, so only register if Windows RegisterComponents('Orpheus', [TOvcTCSimpleField]); -{$ENDIF} +//{$ENDIF} RegisterComponents('Orpheus', [TOvcTCMemo]); RegisterComponents('Orpheus', [TOvcTCCheckBox]); RegisterComponents('Orpheus', [TOvcTCComboBox]);