Several corrections to wxDocManager fields documentation.
Remove non-existent wxDocManager::m_flags. Added correct m_lastDirectory declaration to go with its documentation instead of the duplicated m_fileHistory documentation. Better document the default m_maxDocsOpen value. Put all the documented fields in protected section as they're really protected and not public. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -747,6 +747,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
void SetMaxDocsOpen(int n);
|
void SetMaxDocsOpen(int n);
|
||||||
|
|
||||||
|
|
||||||
|
protected:
|
||||||
/**
|
/**
|
||||||
The currently active view.
|
The currently active view.
|
||||||
*/
|
*/
|
||||||
@@ -768,19 +770,16 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxFileHistory* m_fileHistory;
|
wxFileHistory* m_fileHistory;
|
||||||
|
|
||||||
/**
|
|
||||||
Stores the flags passed to the constructor.
|
|
||||||
*/
|
|
||||||
long m_flags;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The directory last selected by the user when opening a file.
|
The directory last selected by the user when opening a file.
|
||||||
*/
|
*/
|
||||||
wxFileHistory* m_fileHistory;
|
wxString m_lastDirectory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Stores the maximum number of documents that can be opened before
|
Stores the maximum number of documents that can be opened before
|
||||||
existing documents are closed. By default, this is 10,000.
|
existing documents are closed.
|
||||||
|
|
||||||
|
By default, this is @c INT_MAX i.e. practically unlimited.
|
||||||
*/
|
*/
|
||||||
int m_maxDocsOpen;
|
int m_maxDocsOpen;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user