mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:02:41 +02:00
gtk2: fixed my typo Sensetivity -> Sensitivity
git-svn-id: trunk@18340 -
This commit is contained in:
parent
9777610c5a
commit
2d57bcc934
@ -101,7 +101,7 @@ type
|
||||
class procedure ReCreateCombo(const ACustomComboBox: TCustomComboBox; const AWithEntry: Boolean; const AWidgetInfo: PWidgetInfo); virtual;
|
||||
class procedure SetRenderer(const ACustomComboBox: TCustomComboBox; AWidget: PGtkWidget; AWidgetInfo: PWidgetInfo); virtual;
|
||||
class procedure SetCallbacks(const AWinControl: tWinControl; const AWidget: PGtkWidget; const AWidgetInfo: PWidgetInfo); virtual;
|
||||
class procedure SetSensetivity(AWinControl: TWinControl; AWidget: PGtkWidget);
|
||||
class procedure SetSensitivity(AWinControl: TWinControl; AWidget: PGtkWidget);
|
||||
published
|
||||
class procedure GetPreferredSize(const AWinControl: TWinControl;
|
||||
var PreferredWidth, PreferredHeight: integer; WithThemeSpace: Boolean); override;
|
||||
@ -1003,7 +1003,7 @@ begin
|
||||
True : ComboWidget := gtk_combo_box_entry_new_with_model(Model, 0);
|
||||
False: ComboWidget := gtk_combo_box_new_with_model(Model);
|
||||
end;
|
||||
SetSensetivity(ACustomCombobox, ComboWidget);
|
||||
SetSensitivity(ACustomCombobox, ComboWidget);
|
||||
// undone the above increase of the ref count
|
||||
gtk_object_set_data(PGtkObject(ComboWidget),GtkListItemLCLListTag,ItemList);
|
||||
g_object_unref (G_OBJECT(Model));
|
||||
@ -1209,7 +1209,7 @@ begin
|
||||
g_object_set_data(G_OBJECT(AWidget), 'Menu', APrivate^.popup_widget);
|
||||
end;
|
||||
|
||||
class procedure TGtk2WSCustomComboBox.SetSensetivity(AWinControl: TWinControl; AWidget: PGtkWidget);
|
||||
class procedure TGtk2WSCustomComboBox.SetSensitivity(AWinControl: TWinControl; AWidget: PGtkWidget);
|
||||
var
|
||||
Value: TGValue;
|
||||
begin
|
||||
@ -1550,7 +1550,7 @@ begin
|
||||
ComboWidget := gtk_combo_box_new_with_model(GTK_TREE_MODEL (ListStore));
|
||||
end;
|
||||
|
||||
SetSensetivity(AWinControl, ComboWidget);
|
||||
SetSensitivity(AWinControl, ComboWidget);
|
||||
|
||||
g_object_unref (G_OBJECT (liststore));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user