Same as \helpref{wxArtProvider::GetBitmap}{wxartprovidergetbitmap}, but
return a wxIcon object (or wxNullIcon on failure).
-\func{static wxSize}{GetSizeHint}{\param{const wxArtClient\& }{client}, \param{bool }{platform_default = false}}
+\func{static wxSize}{GetSizeHint}{\param{const wxArtClient\& }{client}, \param{bool }{platform\_default = false}}
Returns a suitable size hint for the given {\it wxArtClient}. If
-{\it platform_default} is \true, return a size based on the current platform,
+{\it platform\_default} is \true, return a size based on the current platform,
otherwise return the size from the topmost wxArtProvider. {\it wxDefaultSize} may be
-returned if the client doesn't have a specified size, like wxART_OTHER for example.
+returned if the client doesn't have a specified size, like wxART\_OTHER for example.
\membersection{wxArtProvider::PopProvider}\label{wxartproviderctor}
-%
-% automatically generated by HelpGen from
-% ../include/wx/strconv.h at 25/Mar/00 10:20:56
-%
-
\section{\class{wxMBConvFile}}\label{wxmbconvfile}
This class used to define the class instance
filesystem multibyte encoding and Unicode. {\bf wxConvFileName}
can also be set to a something else at run-time which is used
e.g. by wxGTK to use a class which checks the environment
-variable {\bf G_FILESYSTEM_ENCODING} indicating that filenames
+variable {\bf G\_FILESYSTEM\_ENCODING} indicating that filenames
should not be interpreted as UTF8 and also for converting
-invalid UTF8 characters (e.g. if there is a filename in iso8859_1)
+invalid UTF8 characters (e.g. if there is a filename in iso8859\_1)
to strings with octal values.
Since some platforms (such as Win32) use Unicode in the filenames,
The value of {\it win} determines if the metric returned is a global value or
a \helpref{wxWindow}{wxwindow} based value, in which case it might determine the widget, the
display the window is on, or something similar. The window given should be as close to the
-metric as possible (e.g a wxTopLevelWindow in case of the wxSYS_CAPTION_Y metric).
+metric as possible (e.g a wxTopLevelWindow in case of the wxSYS\_CAPTION\_Y metric).
{\it index} can be one of:
Specifying the {\it win} parameter is encouraged, because some metrics on some ports are not supported without one,
or they might be capable of reporting better values if given one. If a window does not make sense for a metric,
one should still be given, as for example it might determine which displays cursor width is requested with
-wxSYS_CURSOR_X.
+wxSYS\_CURSOR\_X.
\pythonnote{This static method is implemented in Python as a
standalone function named {\tt wxSystemSettings\_GetMetric}}
--- /dev/null
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%% Name: tbuffer.tex
+%% Purpose: wxXXXBuffer classes overview
+%% Author: Ryan Norton <wxprojects@comcast.net>
+%% Modified by: All wxWidgets Developers
+%% Created: 04/08/2005
+%% RCS-ID: $Id$
+%% Copyright: (c) wxWidgets team
+%% License: wxWindows license
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{Buffer classes overview}\label{bufferclasses}
+
+wxWidgets uses two classes of classes for dealing with buffers in memory.
+
+The first is one for dealing with character buffers, namely wxCharBuffer for char pointer or multi-byte c strings and wxWCharBuffer for wchar\_t pointer or wide character c strings.
+
+Secondly, wxWidgets uses, although only rarely currently, wxMemoryBuffer for dealing with raw buffers in memory.
+
+\subsection{wxXCharBuffer Overview}\label{wxcbov}
+
+\wxheading{General Usage}
+
+As mentioned, wxCharBuffer and its wide character variant wxWCharBuffer deal with c strings in memory. They have two constructors, one in which you pass the c string you want them to have a copy of, and another where you specify the size of the buffer in memory in characters you want.
+
+wxCharBuffer and its variant only contain the c string as a member, so they can be used safely to c functions with variable arguments such as printf. They also contain standard assignment, character access operators and a copy constructor.
+
+\wxheading{Destruction}
+
+It should be noted that on destruction wxCharBuffer and its wide character variant delete the c string that hold onto. If you want to get the pointer to the buffer and don't want wxCharBuffer to delete it on destruction, use the member function release to do so.
+
\input tapp.tex
\input truntime.tex
\input tstring.tex
+\input tbuffer.tex
\input tdate.tex
\input tunicode.tex
\input tmbconv.tex
win->UnregisterHotKey(0);
\end{verbatim}
-You may have to register the buttons in a wxEVT_ACTIVATE event handler
+You may have to register the buttons in a wxEVT\_ACTIVATE event handler
since other applications will grab the buttons.
There is currently no method of finding out the names of the special
#endif
\end{verbatim}
-For implementing property sheets (flat tabs), use a wxNotebook with wxNB_FLAT|wxNB_BOTTOM
+For implementing property sheets (flat tabs), use a wxNotebook with wxNB\_FLAT|wxNB\_BOTTOM
and have the notebook left, top and right sides overlap the dialog by about 3 pixels
to eliminate spurious borders. You can do this by using a negative spacing in your
sizer Add() call. The cross-platform property sheet dialog \helpref{wxPropertySheetDialog}{wxpropertysheetdialog} is