mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 09:36:10 +02:00
fix gtk1 compilation
git-svn-id: trunk@13749 -
This commit is contained in:
parent
e3c223acf6
commit
4aa431716f
@ -594,7 +594,7 @@ begin
|
||||
Exit;
|
||||
|
||||
GtkNotebook := PGtkNoteBook(ANotebook.Handle);
|
||||
if gtk_notebook_current_page(GtkNotebook) <> AIndex then
|
||||
if gtk_notebook_get_current_page(GtkNotebook) <> AIndex then
|
||||
begin
|
||||
gtk_object_set_data(PGtkObject(GtkNotebook), LCL_NotebookManualPageSwitchKey, ANotebook);
|
||||
gtk_notebook_set_page(GtkNotebook, AIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user