fix gtk1 compilation

git-svn-id: trunk@13749 -
This commit is contained in:
paul 2008-01-14 12:57:34 +00:00
parent e3c223acf6
commit 4aa431716f

View File

@ -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);