diff --git a/interface/wx/html/htmltag.h b/interface/wx/html/htmltag.h
index 14fb57af9d..6a951001f8 100644
--- a/interface/wx/html/htmltag.h
+++ b/interface/wx/html/htmltag.h
@@ -46,6 +46,7 @@ public:
Returns ending position of the text @e between this tag and paired
ending tag.
See explanation (returned position is marked with '|'):
+ @deprecated @todo provide deprecation description
*/
int GetEndPos1() const;
@@ -53,6 +54,7 @@ public:
Returns ending position 2 of the text @e between this tag and paired
ending tag.
See explanation (returned position is marked with '|'):
+ @deprecated @todo provide deprecation description
*/
int GetEndPos2() const;
@@ -66,7 +68,7 @@ public:
/**
Returns the value of the parameter. You should check whether the
parameter exists or not (use wxHtmlTag::HasParam) first.
-
+
@param par
The parameter's name.
@param with_quotes
@@ -93,7 +95,7 @@ public:
/**
Returns @true if this tag is paired with ending tag, @false otherwise.
See the example of HTML document:
-
+
In this example tags HTML and BODY have ending tags, first P and BR
doesn't have ending tag while the second P has. The third P tag (which
is ending itself) of course doesn't have ending tag.
@@ -104,7 +106,7 @@ public:
Returns @true if the tag has a parameter of the given name.
Example : @c FONT SIZE=+2 COLOR="\#FF00FF" has two parameters named
"SIZE" and "COLOR".
-
+
@param par
the parameter you're looking for.
*/
@@ -116,7 +118,7 @@ public:
argument
and you can only retrieve one value (i.e. you can use only one "%" element
in @e format).
-
+
@param par
The name of the tag you want to query
@param format
diff --git a/interface/wx/sizer.h b/interface/wx/sizer.h
index d17569026a..47f4d875c2 100644
--- a/interface/wx/sizer.h
+++ b/interface/wx/sizer.h
@@ -299,11 +299,13 @@ public:
/**
Set the size of the spacer tracked by this item.
+ @deprecated @todo provide deprecation description
*/
void SetSpacer(const wxSize& size);
/**
Set the window to be tracked by this item.
+ @deprecated @todo provide deprecation description
*/
void SetWindow(wxWindow* window);
@@ -1644,7 +1646,7 @@ public:
/**
Returns the static box associated with the sizer.
*/
- wxStaticBox* GetStaticBox();
+ wxStaticBox* GetStaticBox() const;
};
diff --git a/interface/wx/stream.h b/interface/wx/stream.h
index e131750559..f263607e4e 100644
--- a/interface/wx/stream.h
+++ b/interface/wx/stream.h
@@ -209,7 +209,7 @@ public:
/**
Returns the current position (counted in bytes) in the stream buffer.
*/
- off_t GetIntPosition() const;
+ wxFileOffset GetIntPosition() const;
/**
Returns the amount of bytes read during the last IO call to the parent stream.
@@ -264,7 +264,7 @@ public:
measured in bytes from the beginning of the stream.
Otherwise, it returns wxInvalidOffset.
*/
- off_t Seek(off_t pos, wxSeekMode mode);
+ virtual wxFileOffset Seek(wxFileOffset pos, wxSeekMode mode);
/**
Specifies which pointers to use for stream buffering.
@@ -320,7 +320,7 @@ public:
@return Returns the current position in the stream if possible,
wxInvalidOffset in the other case.
*/
- off_t Tell() const;
+ virtual wxFileOffset Tell() const;
/**
Truncates the buffer to the current position.
@@ -399,12 +399,12 @@ public:
@return The new stream position or wxInvalidOffset on error.
*/
- off_t SeekO(off_t pos, wxSeekMode mode = wxFromStart);
+ virtual wxFileOffset SeekO(wxFileOffset pos, wxSeekMode mode = wxFromStart);
/**
Returns the current stream position.
*/
- off_t TellO() const;
+ virtual wxFileOffset TellO() const;
/**
Writes up to the specified amount of bytes using the data of buffer.
@@ -768,12 +768,12 @@ public:
@return The new stream position or wxInvalidOffset on error.
*/
- off_t SeekI(off_t pos, wxSeekMode mode = wxFromStart);
+ virtual wxFileOffset SeekI(wxFileOffset pos, wxSeekMode mode = wxFromStart);
/**
Returns the current stream position.
*/
- off_t TellI() const;
+ virtual wxFileOffset TellI() const;
/**
This function is only useful in read mode.
@@ -884,13 +884,13 @@ public:
Internal function.
It is called when the stream needs to change the current position.
*/
- off_t OnSysSeek(off_t pos, wxSeekMode mode);
+ wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode);
/**
Internal function.
It is called when the stream needs to know the real position.
*/
- off_t OnSysTell() const;
+ wxFileOffset OnSysTell() const;
/**
See OnSysRead().
diff --git a/interface/wx/xrc/xmlres.h b/interface/wx/xrc/xmlres.h
index 2a5f89f159..a178f1a0dc 100644
--- a/interface/wx/xrc/xmlres.h
+++ b/interface/wx/xrc/xmlres.h
@@ -6,6 +6,23 @@
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
+/**
+ Flags which can be used with wxXmlResource::wxXmlResource.
+*/
+enum wxXmlResourceFlags
+{
+ /** Translatable strings will be translated via _(). */
+ wxXRC_USE_LOCALE = 1,
+
+ /** Subclass property of object nodes will be ignored (useful for previews in XRC editors). */
+ wxXRC_NO_SUBCLASSING = 2,
+
+ /** Prevent the XRC files from being reloaded from disk in case they have been modified there
+ since being last loaded (may slightly speed up loading them). */
+ wxXRC_NO_RELOADING = 4
+};
+
+
/**
@class wxXmlResource
@@ -26,18 +43,15 @@ public:
/**
Constructor.
+ @param filemask
+ The XRC file, archive file, or wildcard specification that will be
+ used to load all resource files inside a zip archive.
@param flags
- wxXRC_USE_LOCALE: translatable strings will be translated via _().
- wxXRC_NO_SUBCLASSING: subclass property of object nodes will be ignored
- (useful for previews in XRC editors). wxXRC_NO_RELOADING will prevent the
- XRC files from being reloaded from disk in case they have been modified
- there
- since being last loaded (may slightly speed up loading them).
+ One or more value of the ::wxXmlResourceFlags enumeration.
@param domain
- The name of the gettext catalog to search for
- translatable strings. By default all loaded catalogs will be
- searched. This provides a way to allow the strings to only come
- from a specific catalog.
+ The name of the gettext catalog to search for translatable strings.
+ By default all loaded catalogs will be searched.
+ This provides a way to allow the strings to only come from a specific catalog.
*/
wxXmlResource(const wxString& filemask,
int flags = wxXRC_USE_LOCALE,
@@ -52,37 +66,38 @@ public:
virtual ~wxXmlResource();
/**
- Initializes only a specific handler (or custom handler). Convention says
- that the handler name is equal to the control's name plus 'XmlHandler', for
- example
- wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler. The XML resource compiler
- (wxxrc) can create include file that contains initialization code for
- all controls used within the resource. Note that this handler should be
- allocated on the heap, since it will be delete by
- ClearHandlers() later.
+ Initializes only a specific handler (or custom handler).
+ Convention says that the handler name is equal to the control's name plus
+ 'XmlHandler', for example wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler.
+
+ The XML resource compiler (wxxrc) can create include file that contains
+ initialization code for all controls used within the resource.
+ Note that this handler must be allocated on the heap, since it will be
+ deleted by ClearHandlers() later.
*/
void AddHandler(wxXmlResourceHandler* handler);
/**
Attaches an unknown control to the given panel/window/dialog.
- Unknown controls are used in conjunction with object class="unknown".
+ Unknown controls are used in conjunction with \