automated ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -347,7 +347,7 @@ public:
|
||||
When using wxSTREAM_FILEEXT for the second parameter, the first parameter
|
||||
can be a complete filename rather than just an extension.
|
||||
*/
|
||||
bool CanHandle(const wxChar* protocol,
|
||||
bool CanHandle(const wxString& protocol,
|
||||
wxStreamProtocolType type = wxSTREAM_PROTOCOL) const;
|
||||
|
||||
/**
|
||||
@@ -366,7 +366,7 @@ public:
|
||||
translating meta-data. The initial default, set by the constructor,
|
||||
is wxConvLocal.
|
||||
*/
|
||||
wxMBConv GetConv() const;
|
||||
wxMBConv& GetConv() const;
|
||||
|
||||
/**
|
||||
Sets the wxMBConv object that the created streams will use when
|
||||
@@ -400,8 +400,8 @@ public:
|
||||
Calls the static GetInternalName() function for the archive entry type,
|
||||
for example wxZipEntry::GetInternalName.
|
||||
*/
|
||||
wxString GetInternalName(const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE) const;
|
||||
virtual wxString GetInternalName(const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE) const = 0;
|
||||
|
||||
/**
|
||||
Returns the wxFileSystem protocol supported by this factory.
|
||||
@@ -424,7 +424,7 @@ public:
|
||||
list << *p << _T("\n");
|
||||
@endcode
|
||||
*/
|
||||
const wxChar* const* GetProtocols(wxStreamProtocolType type = wxSTREAM_PROTOCOL) const;
|
||||
virtual const wxChar** GetProtocols(wxStreamProtocolType type = wxSTREAM_PROTOCOL) const = 0;
|
||||
|
||||
/**
|
||||
Create a new wxArchiveEntry object of the appropriate type.
|
||||
@@ -499,7 +499,7 @@ public:
|
||||
/**
|
||||
This method must be overridden in your derived class.
|
||||
*/
|
||||
void OnEntryUpdated(class wxArchiveEntry& entry);
|
||||
virtual void OnEntryUpdated(wxArchiveEntry& entry) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -285,7 +285,7 @@ public:
|
||||
This method is used to specify wxAuiManager's settings flags. @a flags
|
||||
specifies options which allow the frame management behavior to be modified.
|
||||
*/
|
||||
void SetFlags(int flags);
|
||||
void SetFlags(unsigned int flags);
|
||||
|
||||
/**
|
||||
Called to specify the frame or window which is to be managed by wxAuiManager.
|
||||
@@ -731,7 +731,7 @@ public:
|
||||
SetFlag() turns the property given by flag on or off with the option_state
|
||||
parameter.
|
||||
*/
|
||||
wxAuiPaneInfo& SetFlag(unsigned int flag, bool option_state);
|
||||
wxAuiPaneInfo& SetFlag(int flag, bool option_state);
|
||||
|
||||
/**
|
||||
Show() indicates that a pane should be shown.
|
||||
|
@@ -378,7 +378,7 @@ public:
|
||||
|
||||
@see SetMapMode()
|
||||
*/
|
||||
int GetMapMode() const;
|
||||
wxMappingMode GetMapMode() const;
|
||||
|
||||
//@{
|
||||
/**
|
||||
@@ -606,7 +606,7 @@ public:
|
||||
- wxMM_LOMETRIC - Each logical unit is 1/10 of a mm.
|
||||
- wxMM_TEXT - Each logical unit is 1 pixel.
|
||||
*/
|
||||
void SetMapMode(int mode);
|
||||
void SetMapMode(wxMappingMode mode);
|
||||
|
||||
/**
|
||||
Not implemented.
|
||||
|
@@ -225,7 +225,7 @@ public:
|
||||
If the user-defined wxEVT_GRID_CELL_CHANGING event handler doesn't veto
|
||||
this change, ApplyEdit() will be called next.
|
||||
*/
|
||||
virtual bool EndEdit(int row, int col, wxGrid* grid) = 0;
|
||||
virtual bool EndEdit(const wxString& oldval, wxString* newval) = 0;
|
||||
|
||||
/**
|
||||
Effectively save the changes in the grid.
|
||||
|
@@ -325,7 +325,7 @@ public:
|
||||
@true if a column was shown or hidden or @false if nothing was
|
||||
done, e.g. because the menu was cancelled.
|
||||
*/
|
||||
int ShowColumnsMenu(const wxPoint& pt, const wxString& title = wxString());
|
||||
bool ShowColumnsMenu(const wxPoint& pt, const wxString& title = wxString());
|
||||
|
||||
/**
|
||||
Helper function appending the checkable items corresponding to all the
|
||||
@@ -554,14 +554,14 @@ public:
|
||||
|
||||
@see AppendColumn()
|
||||
*/
|
||||
void InsertColumn(const wxHeaderColumn& col, unsigned int idx);
|
||||
void InsertColumn(const wxHeaderColumnSimple& col, unsigned int idx);
|
||||
|
||||
/**
|
||||
Append the column to the end of the control.
|
||||
|
||||
@see InsertColumn()
|
||||
*/
|
||||
void AppendColumn(const wxHeaderColumn& col);
|
||||
void AppendColumn(const wxHeaderColumnSimple& col);
|
||||
|
||||
/**
|
||||
Delete the column at the given position.
|
||||
@@ -612,7 +612,7 @@ public:
|
||||
ascending or descending sort order respectively, if @c -1 remove
|
||||
the currently shown sort indicator.
|
||||
*/
|
||||
virtual void ShowSortIndicator(unsigned int idx, int sortOrder);
|
||||
void ShowSortIndicator(unsigned int idx, bool ascending = true);
|
||||
|
||||
/**
|
||||
Remove the sort indicator from the given column.
|
||||
@@ -622,7 +622,7 @@ public:
|
||||
@param idx
|
||||
The column to remove sort indicator for.
|
||||
*/
|
||||
void RemoveSortIndicator(unsigned int idx);
|
||||
void RemoveSortIndicator();
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
@@ -197,7 +197,7 @@ public:
|
||||
|
||||
@return @true on success, @false if something went wrong.
|
||||
*/
|
||||
virtual bool AnyAddress() = 0;
|
||||
bool AnyAddress();
|
||||
|
||||
/**
|
||||
Internally, this is the same as setting the IP address to @b INADDR_BROADCAST.
|
||||
@@ -243,7 +243,7 @@ public:
|
||||
|
||||
@return @true on success, @false if something went wrong.
|
||||
*/
|
||||
virtual bool LocalHost() = 0;
|
||||
bool LocalHost();
|
||||
|
||||
/**
|
||||
Set the port to that corresponding to the specified service.
|
||||
|
@@ -6,12 +6,12 @@
|
||||
|
||||
This utility compares the wxWidgets real interface contained in the "include"
|
||||
hierarchy with the wxWidgets interface used for documentation purposes and
|
||||
kept in the @c interface hierarchy.
|
||||
kept in the "interface" hierarchy.
|
||||
|
||||
Ifacecheck warns about incoherences (mainly wrong prototype signatures) and
|
||||
can even correct them automatically. It uses the XML outputs of the gccxml utility
|
||||
(see http://www.gccxml.org) and of the Doxygen utility (see http://www.doxygen.org)
|
||||
to do the comparisons.
|
||||
to do the comparison.
|
||||
|
||||
It's explicitely designed for wxWidgets documentation needs and is probably of little
|
||||
use for anything else than wxWidgets docs reviewing.
|
||||
|
Reference in New Issue
Block a user