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:
parent
5725f0be41
commit
24952d0203
2 changed files with 4 additions and 4 deletions
|
|
@ -39,4 +39,4 @@ public:
|
|||
};
|
||||
|
||||
/// Overload allowing persistence adapter creation for wxDataViewCtrl objects.
|
||||
wxPersistentObject *wxCreatePersistentObject(wxDataViewCtrl *book);
|
||||
wxPersistentObject *wxCreatePersistentObject(wxDataViewCtrl *control);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue