Fix confusing argument names in wxPersistentWindow docs

Use the same argument name as in the actual code in the class
constructor as well as the convenience function, instead of
wrongly copypasted "book".

See also 33de6dc (Fix confusing wxPersistentTLW ctor argument name,
2023-12-22).

Closes #24158.
This commit is contained in:
PB 2023-12-23 18:49:41 +01:00 committed by Vadim Zeitlin
parent 5725f0be41
commit 24952d0203
2 changed files with 4 additions and 4 deletions

View file

@ -39,4 +39,4 @@ public:
};
/// Overload allowing persistence adapter creation for wxDataViewCtrl objects.
wxPersistentObject *wxCreatePersistentObject(wxDataViewCtrl *book);
wxPersistentObject *wxCreatePersistentObject(wxDataViewCtrl *control);

View file

@ -21,10 +21,10 @@ public:
/**
Constructor.
@param topwin
@param tlw
The associated window.
*/
wxPersistentTLW(wxTopLevelWindow *topwin);
wxPersistentTLW(wxTopLevelWindow *tlw);
/**
Save the current window geometry.
@ -39,4 +39,4 @@ public:
/// Overload allowing persistence adapter creation for wxTopLevelWindow-derived
/// objects.
wxPersistentObject *wxCreatePersistentObject(wxTopLevelWindow *book);
wxPersistentObject *wxCreatePersistentObject(wxTopLevelWindow *tlw);