Ensure the return documentation is on the correct function

UnreserveId doesn't return anything, and the documentation for the
boolean return in wxFileDialog should be on Create not the constructor.
This commit is contained in:
Ian McInerney
2021-05-13 03:19:35 +01:00
committed by Ian McInerney
parent 99bcb29fce
commit 1688429249
2 changed files with 3 additions and 5 deletions

View File

@@ -91,9 +91,6 @@ public:
Initial size.
@param name
Control name.
@return @true if the control was successfully created or @false if
creation failed.
*/
wxFileCtrl(wxWindow* parent, wxWindowID id,
@@ -107,6 +104,9 @@ public:
/**
Create function for two-step construction. See wxFileCtrl() for details.
@return @true if the control was successfully created or @false if
creation failed.
*/
bool Create(wxWindow* parent, wxWindowID id,
const wxString& defaultDirectory = wxEmptyString,