adjusted indentation with astyle; added Id keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -44,9 +44,7 @@ class wxAboutDialogInfo
|
||||
public:
|
||||
/**
|
||||
Default constructor leaves all fields are initially uninitialized, in general
|
||||
you should call at least SetVersion(),
|
||||
SetCopyright() and
|
||||
SetDescription().
|
||||
you should call at least SetVersion(), SetCopyright() and SetDescription().
|
||||
*/
|
||||
wxAboutDialogInfo();
|
||||
|
||||
@@ -73,10 +71,10 @@ public:
|
||||
|
||||
/**
|
||||
Adds a translator name to be shown in the program credits. Notice that if no
|
||||
translator names are specified explicitely, wxAboutBox
|
||||
will try to use the translation of the string @c translator-credits from
|
||||
the currently used message catalog -- this can be used to show just the name of
|
||||
the translator of the program in the current language.
|
||||
translator names are specified explicitely, wxAboutBox will try to use the
|
||||
translation of the string @c translator-credits from the currently used message
|
||||
catalog -- this can be used to show just the name of the translator of the
|
||||
program in the current language.
|
||||
|
||||
@sa SetTranslators()
|
||||
*/
|
||||
@@ -90,8 +88,8 @@ public:
|
||||
void SetArtists(const wxArrayString& artists);
|
||||
|
||||
/**
|
||||
Set the short string containing the program copyright information. Notice that
|
||||
any occurrences of @c "(C)" in @e copyright will be replaced by the
|
||||
Set the short string containing the program copyright information. Notice
|
||||
that any occurrences of @c "(C)" in @e copyright will be replaced by the
|
||||
copyright symbol (circled C) automatically, which means that you can avoid
|
||||
using this symbol in the program source code which can be problematic,
|
||||
*/
|
||||
@@ -148,16 +146,14 @@ public:
|
||||
void SetName(const wxString& name);
|
||||
|
||||
/**
|
||||
Set the list of translators. Please see
|
||||
AddTranslator() for additional
|
||||
Set the list of translators. Please see AddTranslator() for additional
|
||||
discussion.
|
||||
*/
|
||||
void SetTranslators(const wxArrayString& translators);
|
||||
|
||||
/**
|
||||
Set the version of the program. The version is in free format, i.e. not
|
||||
necessarily in the @c x.y.z form but it shouldn't contain the "version"
|
||||
word.
|
||||
necessarily in the @c x.y.z form but it shouldn't contain the "version" word.
|
||||
*/
|
||||
void SetVersion(const wxString& version);
|
||||
|
||||
@@ -214,8 +210,7 @@ void wxAboutBox(const wxAboutDialogInfo& info);
|
||||
supported).
|
||||
|
||||
See the @ref overview_sampledialogs "dialogs sample" for an example of about
|
||||
dialog
|
||||
customization.
|
||||
dialog customization.
|
||||
|
||||
@sa wxAboutDialogInfo
|
||||
*/
|
||||
|
@@ -37,7 +37,7 @@ public:
|
||||
The menu or control command identifier.
|
||||
*/
|
||||
wxAcceleratorEntry();
|
||||
wxAcceleratorEntry(int flags, int keyCode, int cmd);
|
||||
wxAcceleratorEntry(int flags, int keyCode, int cmd);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -113,9 +113,9 @@ public:
|
||||
Name of a Windows accelerator.
|
||||
*/
|
||||
wxAcceleratorTable();
|
||||
wxAcceleratorTable(const wxAcceleratorTable& bitmap);
|
||||
wxAcceleratorTable(int n, wxAcceleratorEntry entries[]);
|
||||
wxAcceleratorTable(const wxString& resource);
|
||||
wxAcceleratorTable(const wxAcceleratorTable& bitmap);
|
||||
wxAcceleratorTable(int n, wxAcceleratorEntry entries[]);
|
||||
wxAcceleratorTable(const wxString& resource);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -191,9 +191,9 @@ public:
|
||||
See LoadFile for more info.
|
||||
*/
|
||||
wxAnimation();
|
||||
wxAnimation(const wxAnimation& anim);
|
||||
wxAnimation(const wxString& name,
|
||||
wxAnimationType type = wxANIMATION_TYPE_ANY);
|
||||
wxAnimation(const wxAnimation& anim);
|
||||
wxAnimation(const wxString& name,
|
||||
wxAnimationType type = wxANIMATION_TYPE_ANY);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -627,7 +627,7 @@ public:
|
||||
default (but it can be changed).
|
||||
*/
|
||||
void wxLogMessage(const char * formatString, ... );
|
||||
void wxVLogMessage(const char * formatString, va_list argPtr);
|
||||
void wxVLogMessage(const char * formatString, va_list argPtr);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -638,7 +638,7 @@ void wxLogMessage(const char * formatString, ... );
|
||||
wxLogInfo).
|
||||
*/
|
||||
void wxLogVerbose(const char * formatString, ... );
|
||||
void wxVLogVerbose(const char * formatString, va_list argPtr);
|
||||
void wxVLogVerbose(const char * formatString, va_list argPtr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -668,7 +668,7 @@ void wxExit();
|
||||
the program work.
|
||||
*/
|
||||
void wxLogWarning(const char * formatString, ... );
|
||||
void wxVLogWarning(const char * formatString, va_list argPtr);
|
||||
void wxVLogWarning(const char * formatString, va_list argPtr);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -678,8 +678,8 @@ void wxLogWarning(const char * formatString, ... );
|
||||
function also terminates the program with this exit code.
|
||||
*/
|
||||
void wxLogFatalError(const char * formatString, ... );
|
||||
void wxVLogFatalError(const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxVLogFatalError(const char * formatString,
|
||||
va_list argPtr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -741,7 +741,7 @@ void wxPostEvent(wxEvtHandler * dest, wxEvent& event);
|
||||
user about it.
|
||||
*/
|
||||
void wxLogError(const char * formatString, ... );
|
||||
void wxVLogError(const char * formatString, va_list argPtr);
|
||||
void wxVLogError(const char * formatString, va_list argPtr);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -792,16 +792,16 @@ void wxLogError(const char * formatString, ... );
|
||||
wxTraceOleCalls: trace OLE method calls (Win32 only)
|
||||
*/
|
||||
void wxLogTrace(const char * formatString, ... );
|
||||
void wxVLogTrace(const char * formatString, va_list argPtr);
|
||||
void wxLogTrace(const char * mask, const char * formatString,
|
||||
... );
|
||||
void wxVLogTrace(const char * mask,
|
||||
const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxLogTrace(wxTraceMask mask, const char * formatString,
|
||||
... );
|
||||
void wxVLogTrace(wxTraceMask mask, const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxVLogTrace(const char * formatString, va_list argPtr);
|
||||
void wxLogTrace(const char * mask, const char * formatString,
|
||||
... );
|
||||
void wxVLogTrace(const char * mask,
|
||||
const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxLogTrace(wxTraceMask mask, const char * formatString,
|
||||
... );
|
||||
void wxVLogTrace(wxTraceMask mask, const char * formatString,
|
||||
va_list argPtr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -826,7 +826,7 @@ void wxUninitialize();
|
||||
nothing in release mode (otherwise).
|
||||
*/
|
||||
void wxLogDebug(const char * formatString, ... );
|
||||
void wxVLogDebug(const char * formatString, va_list argPtr);
|
||||
void wxVLogDebug(const char * formatString, va_list argPtr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -852,10 +852,10 @@ wxAppDerivedClass wxGetApp();
|
||||
*/
|
||||
void wxLogStatus(wxFrame * frame, const char * formatString,
|
||||
... );
|
||||
void wxVLogStatus(wxFrame * frame, const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxLogStatus(const char * formatString, ... );
|
||||
void wxVLogStatus(const char * formatString, va_list argPtr);
|
||||
void wxVLogStatus(wxFrame * frame, const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxLogStatus(const char * formatString, ... );
|
||||
void wxVLogStatus(const char * formatString, va_list argPtr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -905,8 +905,8 @@ bool wxYield();
|
||||
@sa wxSysErrorCode, wxSysErrorMsg
|
||||
*/
|
||||
void wxLogSysError(const char * formatString, ... );
|
||||
void wxVLogSysError(const char * formatString,
|
||||
va_list argPtr);
|
||||
void wxVLogSysError(const char * formatString,
|
||||
va_list argPtr);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -929,9 +929,9 @@ void wxLogSysError(const char * formatString, ... );
|
||||
@sa wxEntryStart
|
||||
*/
|
||||
int wxEntry(int& argc, wxChar ** argv);
|
||||
int wxEntry(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance = @NULL,
|
||||
char * pCmdLine = @NULL,
|
||||
int nCmdShow = SW_SHOWNORMAL);
|
||||
int wxEntry(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance = @NULL,
|
||||
char * pCmdLine = @NULL,
|
||||
int nCmdShow = SW_SHOWNORMAL);
|
||||
//@}
|
||||
|
||||
|
@@ -154,7 +154,7 @@ public:
|
||||
data can then be written by writing to this wxArchiveOutputStream.
|
||||
*/
|
||||
bool PutNextEntry(wxArchiveEntry* entry);
|
||||
bool PutNextEntry(const wxString& name);
|
||||
bool PutNextEntry(const wxString& name);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -188,7 +188,7 @@ public:
|
||||
The entry's timestamp.
|
||||
*/
|
||||
wxDateTime GetDateTime();
|
||||
void SetDateTime(const wxDateTime& dt);
|
||||
void SetDateTime(const wxDateTime& dt);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -202,8 +202,8 @@ public:
|
||||
Similarly, setting a name with a trailing path separator sets IsDir().
|
||||
*/
|
||||
wxString GetName(wxPathFormat format = wxPATH_NATIVE);
|
||||
void SetName(const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void SetName(const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -211,7 +211,7 @@ public:
|
||||
The size of the entry's data in bytes.
|
||||
*/
|
||||
off_t GetSize();
|
||||
void SetSize(off_t size);
|
||||
void SetSize(off_t size);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -250,7 +250,7 @@ public:
|
||||
restore files, even if the archive contains no explicit directory entries.
|
||||
*/
|
||||
bool IsDir();
|
||||
void SetIsDir(bool isDir = @true);
|
||||
void SetIsDir(bool isDir = @true);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -258,7 +258,7 @@ public:
|
||||
True if the entry is a read-only file.
|
||||
*/
|
||||
bool IsReadOnly();
|
||||
void SetIsReadOnly(bool isReadOnly = @true);
|
||||
void SetIsReadOnly(bool isReadOnly = @true);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -274,7 +274,7 @@ public:
|
||||
non-seekable streams).
|
||||
*/
|
||||
void SetNotifier(wxArchiveNotifier& notifier);
|
||||
void UnsetNotifier();
|
||||
void UnsetNotifier();
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -329,7 +329,7 @@ public:
|
||||
can be a complete filename rather than just an extension.
|
||||
*/
|
||||
static const wxArchiveClassFactory* Find(const wxChar* protocol,
|
||||
wxStreamProtocolType type = wxSTREAM_PROTOCOL);
|
||||
wxStreamProtocolType type = wxSTREAM_PROTOCOL);
|
||||
|
||||
//@{
|
||||
/**
|
||||
@@ -338,7 +338,7 @@ public:
|
||||
constructor, is wxConvLocal.
|
||||
*/
|
||||
wxMBConv GetConv();
|
||||
void SetConv(wxMBConv& conv);
|
||||
void SetConv(wxMBConv& conv);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -350,7 +350,7 @@ public:
|
||||
are available. They do not give away ownership of the factory.
|
||||
*/
|
||||
static const wxArchiveClassFactory* GetFirst();
|
||||
const wxArchiveClassFactory* GetNext();
|
||||
const wxArchiveClassFactory* GetNext();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -390,9 +390,9 @@ public:
|
||||
takes ownership of it. If it is passed by reference then it does not.
|
||||
*/
|
||||
wxArchiveInputStream* NewStream(wxInputStream& stream);
|
||||
wxArchiveOutputStream* NewStream(wxOutputStream& stream);
|
||||
wxArchiveInputStream* NewStream(wxInputStream* stream);
|
||||
wxArchiveOutputStream* NewStream(wxOutputStream* stream);
|
||||
wxArchiveOutputStream* NewStream(wxOutputStream& stream);
|
||||
wxArchiveInputStream* NewStream(wxInputStream* stream);
|
||||
wxArchiveOutputStream* NewStream(wxOutputStream* stream);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -480,110 +480,110 @@ public:
|
||||
wxArchiveIterator(Arc& arc) {
|
||||
|
||||
/* ... */
|
||||
};
|
||||
@endcode
|
||||
};
|
||||
@endcode
|
||||
|
||||
The first template parameter should be the type of archive input stream
|
||||
(e.g. wxArchiveInputStream) and the
|
||||
second can either be a pointer to an entry
|
||||
(e.g. wxArchiveEntry*), or a string/pointer pair
|
||||
(e.g. std::pairwxString, wxArchiveEntry*).
|
||||
The first template parameter should be the type of archive input stream
|
||||
(e.g. wxArchiveInputStream) and the
|
||||
second can either be a pointer to an entry
|
||||
(e.g. wxArchiveEntry*), or a string/pointer pair
|
||||
(e.g. std::pairwxString, wxArchiveEntry*).
|
||||
|
||||
The @c wx/archive.h header defines the following typedefs:
|
||||
The @c wx/archive.h header defines the following typedefs:
|
||||
|
||||
@code
|
||||
typedef wxArchiveIteratorwxArchiveInputStream wxArchiveIter;
|
||||
@code
|
||||
typedef wxArchiveIteratorwxArchiveInputStream wxArchiveIter;
|
||||
|
||||
typedef wxArchiveIteratorwxArchiveInputStream,
|
||||
std::pairwxString, wxArchiveEntry* wxArchivePairIter;
|
||||
@endcode
|
||||
typedef wxArchiveIteratorwxArchiveInputStream,
|
||||
std::pairwxString, wxArchiveEntry* wxArchivePairIter;
|
||||
@endcode
|
||||
|
||||
The header for any implementation of this interface should define similar
|
||||
typedefs for its types, for example in @c wx/zipstrm.h there is:
|
||||
The header for any implementation of this interface should define similar
|
||||
typedefs for its types, for example in @c wx/zipstrm.h there is:
|
||||
|
||||
@code
|
||||
typedef wxArchiveIteratorwxZipInputStream wxZipIter;
|
||||
@code
|
||||
typedef wxArchiveIteratorwxZipInputStream wxZipIter;
|
||||
|
||||
typedef wxArchiveIteratorwxZipInputStream,
|
||||
std::pairwxString, wxZipEntry* wxZipPairIter;
|
||||
@endcode
|
||||
typedef wxArchiveIteratorwxZipInputStream,
|
||||
std::pairwxString, wxZipEntry* wxZipPairIter;
|
||||
@endcode
|
||||
|
||||
Transferring the catalogue of an archive @e arc to a vector @e cat,
|
||||
can then be done something like this:
|
||||
Transferring the catalogue of an archive @e arc to a vector @e cat,
|
||||
can then be done something like this:
|
||||
|
||||
@code
|
||||
std::vectorwxArchiveEntry* cat((wxArchiveIter)arc, wxArchiveIter());
|
||||
@endcode
|
||||
@code
|
||||
std::vectorwxArchiveEntry* cat((wxArchiveIter)arc, wxArchiveIter());
|
||||
@endcode
|
||||
|
||||
When the iterator is dereferenced, it gives away ownership of an entry
|
||||
object. So in the above example, when you have finished with @e cat
|
||||
you must delete the pointers it contains.
|
||||
When the iterator is dereferenced, it gives away ownership of an entry
|
||||
object. So in the above example, when you have finished with @e cat
|
||||
you must delete the pointers it contains.
|
||||
|
||||
If you have smart pointers with normal copy semantics (i.e. not auto_ptr
|
||||
or wxScopedPtr), then you can create an iterator
|
||||
which uses them instead. For example, with a smart pointer class for
|
||||
zip entries @e ZipEntryPtr:
|
||||
If you have smart pointers with normal copy semantics (i.e. not auto_ptr
|
||||
or wxScopedPtr), then you can create an iterator
|
||||
which uses them instead. For example, with a smart pointer class for
|
||||
zip entries @e ZipEntryPtr:
|
||||
|
||||
@code
|
||||
typedef std::vectorZipEntryPtr ZipCatalog;
|
||||
typedef wxArchiveIteratorwxZipInputStream, ZipEntryPtr ZipIter;
|
||||
ZipCatalog cat((ZipIter)zip, ZipIter());
|
||||
@endcode
|
||||
@code
|
||||
typedef std::vectorZipEntryPtr ZipCatalog;
|
||||
typedef wxArchiveIteratorwxZipInputStream, ZipEntryPtr ZipIter;
|
||||
ZipCatalog cat((ZipIter)zip, ZipIter());
|
||||
@endcode
|
||||
|
||||
Iterators that return std::pair objects can be used to
|
||||
populate a std::multimap, to allow entries to be looked
|
||||
up by name. The string is initialised using the wxArchiveEntry object's
|
||||
wxArchiveEntry::GetInternalName function.
|
||||
Iterators that return std::pair objects can be used to
|
||||
populate a std::multimap, to allow entries to be looked
|
||||
up by name. The string is initialised using the wxArchiveEntry object's
|
||||
wxArchiveEntry::GetInternalName function.
|
||||
|
||||
@code
|
||||
typedef std::multimapwxString, wxZipEntry* ZipCatalog;
|
||||
ZipCatalog cat((wxZipPairIter)zip, wxZipPairIter());
|
||||
@endcode
|
||||
@code
|
||||
typedef std::multimapwxString, wxZipEntry* ZipCatalog;
|
||||
ZipCatalog cat((wxZipPairIter)zip, wxZipPairIter());
|
||||
@endcode
|
||||
|
||||
|
||||
Note that this iterator also gives away ownership of an entry
|
||||
object each time it is dereferenced. So in the above example, when
|
||||
you have finished with @e cat you must delete the pointers it contains.
|
||||
Note that this iterator also gives away ownership of an entry
|
||||
object each time it is dereferenced. So in the above example, when
|
||||
you have finished with @e cat you must delete the pointers it contains.
|
||||
|
||||
Or if you have them, a pair containing a smart pointer can be used
|
||||
(again @e ZipEntryPtr), no worries about ownership:
|
||||
Or if you have them, a pair containing a smart pointer can be used
|
||||
(again @e ZipEntryPtr), no worries about ownership:
|
||||
|
||||
@code
|
||||
typedef std::multimapwxString, ZipEntryPtr ZipCatalog;
|
||||
typedef wxArchiveIteratorwxZipInputStream,
|
||||
std::pairwxString, ZipEntryPtr ZipPairIter;
|
||||
ZipCatalog cat((ZipPairIter)zip, ZipPairIter());
|
||||
@endcode
|
||||
@code
|
||||
typedef std::multimapwxString, ZipEntryPtr ZipCatalog;
|
||||
typedef wxArchiveIteratorwxZipInputStream,
|
||||
std::pairwxString, ZipEntryPtr ZipPairIter;
|
||||
ZipCatalog cat((ZipPairIter)zip, ZipPairIter());
|
||||
@endcode
|
||||
|
||||
@library{wxbase}
|
||||
@category{FIXME}
|
||||
@library{wxbase}
|
||||
@category{FIXME}
|
||||
|
||||
@seealso
|
||||
wxArchiveEntry, wxArchiveInputStream, wxArchiveOutputStream
|
||||
@seealso
|
||||
wxArchiveEntry, wxArchiveInputStream, wxArchiveOutputStream
|
||||
*/
|
||||
class wxArchiveIterator
|
||||
{
|
||||
public:
|
||||
//@{
|
||||
/**
|
||||
Construct iterator that returns all the entries in the archive input
|
||||
stream @e arc.
|
||||
*/
|
||||
wxArchiveIterator();
|
||||
wxArchiveIterator(Arc& arc);
|
||||
//@}
|
||||
//@{
|
||||
/**
|
||||
Construct iterator that returns all the entries in the archive input
|
||||
stream @e arc.
|
||||
*/
|
||||
wxArchiveIterator();
|
||||
wxArchiveIterator(Arc& arc);
|
||||
//@}
|
||||
|
||||
/**
|
||||
Returns an entry object from the archive input stream, giving away
|
||||
ownership.
|
||||
*/
|
||||
const T operator*();
|
||||
/**
|
||||
Returns an entry object from the archive input stream, giving away
|
||||
ownership.
|
||||
*/
|
||||
const T operator*();
|
||||
|
||||
//@{
|
||||
/**
|
||||
Position the input iterator at the next entry in the archive input stream.
|
||||
*/
|
||||
wxArchiveIterator operator++();
|
||||
wxArchiveIterator operator++(int );
|
||||
//@}
|
||||
//@{
|
||||
/**
|
||||
Position the input iterator at the next entry in the archive input stream.
|
||||
*/
|
||||
wxArchiveIterator operator++();
|
||||
wxArchiveIterator operator++(int );
|
||||
//@}
|
||||
};
|
||||
|
@@ -63,10 +63,10 @@ public:
|
||||
Constructor from a wxString array. Pass a size @e sz and array @e arr.
|
||||
*/
|
||||
wxArrayString();
|
||||
wxArrayString(const wxArrayString& array);
|
||||
wxArrayString(size_t sz, const char** arr);
|
||||
wxArrayString(size_t sz, const wchar_t** arr);
|
||||
wxArrayString(size_t sz, const wxString* arr);
|
||||
wxArrayString(const wxArrayString& array);
|
||||
wxArrayString(size_t sz, const char** arr);
|
||||
wxArrayString(size_t sz, const wchar_t** arr);
|
||||
wxArrayString(size_t sz, const wxString* arr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -201,7 +201,8 @@ public:
|
||||
second one.
|
||||
*/
|
||||
void Sort(bool reverseOrder = @false);
|
||||
Warning: void Sort(CompareFunction compareFunction);
|
||||
Warning:
|
||||
void Sort(CompareFunction compareFunction);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -251,7 +252,7 @@ public:
|
||||
*/
|
||||
wxArrayString wxSplit(const wxString& str, const wxChar sep,
|
||||
const wxChar escape = '
|
||||
');
|
||||
');
|
||||
|
||||
/**
|
||||
Concatenate all lines of the given wxArrayString object using the separator @e
|
||||
|
@@ -233,8 +233,8 @@ public:
|
||||
static wxIcon GetIcon(const wxArtID& id,
|
||||
const wxArtClient& client = wxART_OTHER,
|
||||
const wxSize& size = wxDefaultSize);
|
||||
static wxSize GetSizeHint(const wxArtClient& client,
|
||||
bool platform_default = @false);
|
||||
static wxSize GetSizeHint(const wxArtClient& client,
|
||||
bool platform_default = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -1,15 +1,14 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: atomic.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: atomic.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
This function increments @e value in an atomic manner.
|
||||
/**
|
||||
This function increments @e value in an atomic manner.
|
||||
*/
|
||||
void wxAtomicInc(wxAtomicInt& value);
|
||||
|
||||
|
||||
|
@@ -74,11 +74,11 @@ public:
|
||||
several versions of this function. The first version allows the full spectrum of pane parameter possibilities. The second version is used for simpler user interfaces which do not require as much configuration. The last version allows a drop position to be specified, which will determine where the pane will be added.
|
||||
*/
|
||||
bool AddPane(wxWindow* window, const wxAuiPaneInfo& pane_info);
|
||||
bool AddPane(wxWindow* window, int direction = wxLEFT,
|
||||
const wxString& caption = wxEmptyString);
|
||||
bool AddPane(wxWindow* window,
|
||||
const wxAuiPaneInfo& pane_info,
|
||||
const wxPoint& drop_pos);
|
||||
bool AddPane(wxWindow* window, int direction = wxLEFT,
|
||||
const wxString& caption = wxEmptyString);
|
||||
bool AddPane(wxWindow* window,
|
||||
const wxAuiPaneInfo& pane_info,
|
||||
const wxPoint& drop_pos);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -141,7 +141,7 @@ public:
|
||||
returned wxAuiPaneInfo's IsOk() method will return @false.
|
||||
*/
|
||||
wxAuiPaneInfo GetPane(wxWindow* window);
|
||||
wxAuiPaneInfo GetPane(const wxString& name);
|
||||
wxAuiPaneInfo GetPane(const wxString& name);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -288,7 +288,7 @@ public:
|
||||
Copy constructor.
|
||||
*/
|
||||
wxAuiPaneInfo();
|
||||
wxAuiPaneInfo(const wxAuiPaneInfo& c);
|
||||
wxAuiPaneInfo(const wxAuiPaneInfo& c);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -297,7 +297,7 @@ public:
|
||||
to use this size as much as possible when docking or floating the pane.
|
||||
*/
|
||||
wxAuiPaneInfo BestSize(const wxSize& size);
|
||||
wxAuiPaneInfo BestSize(int x, int y);
|
||||
wxAuiPaneInfo BestSize(int x, int y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -332,7 +332,7 @@ public:
|
||||
This is the same thing as calling Direction(wxAUI_DOCK_CENTRE).
|
||||
*/
|
||||
wxAuiPaneInfo Centre();
|
||||
wxAuiPaneInfo Center();
|
||||
wxAuiPaneInfo Center();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -341,7 +341,7 @@ public:
|
||||
settings. Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position.
|
||||
*/
|
||||
wxAuiPaneInfo CentrePane();
|
||||
wxAuiPaneInfo CenterPane();
|
||||
wxAuiPaneInfo CenterPane();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -405,7 +405,7 @@ public:
|
||||
FloatingPosition() sets the position of the floating pane.
|
||||
*/
|
||||
wxAuiPaneInfo FloatingPosition(const wxPoint& pos);
|
||||
wxAuiPaneInfo FloatingPosition(int x, int y);
|
||||
wxAuiPaneInfo FloatingPosition(int x, int y);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -413,7 +413,7 @@ public:
|
||||
FloatingSize() sets the size of the floating pane.
|
||||
*/
|
||||
wxAuiPaneInfo FloatingSize(const wxSize& size);
|
||||
wxAuiPaneInfo FloatingSize(int x, int y);
|
||||
wxAuiPaneInfo FloatingSize(int x, int y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -573,7 +573,7 @@ public:
|
||||
MaxSize() sets the maximum size of the pane.
|
||||
*/
|
||||
wxAuiPaneInfo MaxSize(const wxSize& size);
|
||||
wxAuiPaneInfo MaxSize(int x, int y);
|
||||
wxAuiPaneInfo MaxSize(int x, int y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -587,7 +587,7 @@ public:
|
||||
partially supported as of this writing.
|
||||
*/
|
||||
wxAuiPaneInfo MinSize(const wxSize& size);
|
||||
wxAuiPaneInfo MinSize(int x, int y);
|
||||
wxAuiPaneInfo MinSize(int x, int y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -67,10 +67,10 @@ public:
|
||||
Constructor. Creates a wxAuiNotebok control.
|
||||
*/
|
||||
wxAuiNotebook();
|
||||
wxAuiNotebook(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxAUI_NB_DEFAULT_STYLE);
|
||||
wxAuiNotebook(wxWindow* parent, wxWindowID id = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxAUI_NB_DEFAULT_STYLE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -228,7 +228,7 @@ public:
|
||||
of the following: wxTOP, wxBOTTOM, wxLEFT, or wxRIGHT.
|
||||
*/
|
||||
void SetUniformBitmapSize(const wxSize& size);
|
||||
void Split(size_t page, int direction);
|
||||
void Split(size_t page, int direction);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: base64.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: base64.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
These functions encode the given data using base64. The first of them is the
|
||||
raw encoding function writing the output string into provided buffer while the
|
||||
@@ -32,15 +32,15 @@
|
||||
size_t wxBase64Encode(char * dst, size_t dstLen,
|
||||
const void * src,
|
||||
size_t srcLen);
|
||||
wxString wxBase64Encode(const void * src, size_t srcLen);
|
||||
wxString wxBase64Encode(const wxMemoryBuffer& buf);
|
||||
wxString wxBase64Encode(const void * src, size_t srcLen);
|
||||
wxString wxBase64Encode(const wxMemoryBuffer& buf);
|
||||
//@}
|
||||
|
||||
|
||||
/**
|
||||
Returns the size of the buffer necessary to contain the data encoded in a
|
||||
base64 string of length @e srcLen. This can be useful for allocating a
|
||||
buffer to be passed to wxBase64Decode.
|
||||
/**
|
||||
Returns the size of the buffer necessary to contain the data encoded in a
|
||||
base64 string of length @e srcLen. This can be useful for allocating a
|
||||
buffer to be passed to wxBase64Decode.
|
||||
*/
|
||||
size_t wxBase64DecodedSize(size_t srcLen);
|
||||
|
||||
@@ -100,12 +100,12 @@ size_t wxBase64Decode(void * dst, size_t dstLen,
|
||||
size_t srcLen = wxNO_LEN,
|
||||
wxBase64DecodeMode mode = wxBase64DecodeMode_Strict,
|
||||
size_t posErr = @NULL);
|
||||
wxMemoryBuffer wxBase64Decode(const char * src,
|
||||
size_t srcLen = wxNO_LEN,
|
||||
wxBase64DecodeMode mode = wxBase64DecodeMode_Strict,
|
||||
size_t posErr = @NULL);
|
||||
wxMemoryBuffer wxBase64Decode(const wxString& src,
|
||||
wxBase64DecodeMode mode = wxBase64DecodeMode_Strict,
|
||||
size_t posErr = @NULL);
|
||||
wxMemoryBuffer wxBase64Decode(const char * src,
|
||||
size_t srcLen = wxNO_LEN,
|
||||
wxBase64DecodeMode mode = wxBase64DecodeMode_Strict,
|
||||
size_t posErr = @NULL);
|
||||
wxMemoryBuffer wxBase64Decode(const wxString& src,
|
||||
wxBase64DecodeMode mode = wxBase64DecodeMode_Strict,
|
||||
size_t posErr = @NULL);
|
||||
//@}
|
||||
|
||||
|
@@ -271,15 +271,15 @@ public:
|
||||
@sa LoadFile()
|
||||
*/
|
||||
wxBitmap();
|
||||
wxBitmap(const wxBitmap& bitmap);
|
||||
wxBitmap(const void* data, int type, int width, int height,
|
||||
int depth = -1);
|
||||
wxBitmap(const char bits[], int width, int height,
|
||||
int depth = 1);
|
||||
wxBitmap(int width, int height, int depth = -1);
|
||||
wxBitmap(const char* const* bits);
|
||||
wxBitmap(const wxString& name, long type);
|
||||
wxBitmap(const wxImage& img, int depth = -1);
|
||||
wxBitmap(const wxBitmap& bitmap);
|
||||
wxBitmap(const void* data, int type, int width, int height,
|
||||
int depth = -1);
|
||||
wxBitmap(const char bits[], int width, int height,
|
||||
int depth = 1);
|
||||
wxBitmap(int width, int height, int depth = -1);
|
||||
wxBitmap(const char* const* bits);
|
||||
wxBitmap(const wxString& name, long type);
|
||||
wxBitmap(const wxImage& img, int depth = -1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -352,9 +352,9 @@ public:
|
||||
@sa wxBitmap()
|
||||
*/
|
||||
virtual bool Create(int width, int height, int depth = -1);
|
||||
virtual bool Create(const void* data, int type, int width,
|
||||
int height,
|
||||
int depth = -1);
|
||||
virtual bool Create(const void* data, int type, int width,
|
||||
int height,
|
||||
int depth = -1);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -375,9 +375,9 @@ public:
|
||||
@sa wxBitmapHandler
|
||||
*/
|
||||
static wxBitmapHandler* FindHandler(const wxString& name);
|
||||
static wxBitmapHandler* FindHandler(const wxString& extension,
|
||||
wxBitmapType bitmapType);
|
||||
static wxBitmapHandler* FindHandler(wxBitmapType bitmapType);
|
||||
static wxBitmapHandler* FindHandler(const wxString& extension,
|
||||
wxBitmapType bitmapType);
|
||||
static wxBitmapHandler* FindHandler(wxBitmapType bitmapType);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -664,10 +664,10 @@ public:
|
||||
Index into a palette, specifying the transparency colour.
|
||||
*/
|
||||
wxMask();
|
||||
wxMask(const wxBitmap& bitmap);
|
||||
wxMask(const wxBitmap& bitmap,
|
||||
const wxColour& colour);
|
||||
wxMask(const wxBitmap& bitmap, int index);
|
||||
wxMask(const wxBitmap& bitmap);
|
||||
wxMask(const wxBitmap& bitmap,
|
||||
const wxColour& colour);
|
||||
wxMask(const wxBitmap& bitmap, int index);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -691,7 +691,7 @@ public:
|
||||
Index into a palette, specifying the transparency colour.
|
||||
*/
|
||||
bool Create(const wxBitmap& bitmap);
|
||||
bool Create(const wxBitmap& bitmap, const wxColour& colour);
|
||||
bool Create(const wxBitmap& bitmap, int index);
|
||||
bool Create(const wxBitmap& bitmap, const wxColour& colour);
|
||||
bool Create(const wxBitmap& bitmap, int index);
|
||||
//@}
|
||||
};
|
||||
|
@@ -86,13 +86,13 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxBitmapButton();
|
||||
wxBitmapButton(wxWindow* parent, wxWindowID id,
|
||||
const wxBitmap& bitmap,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "button");
|
||||
wxBitmapButton(wxWindow* parent, wxWindowID id,
|
||||
const wxBitmap& bitmap,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "button");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -121,7 +121,7 @@ public:
|
||||
@sa SetBitmapDisabled()
|
||||
*/
|
||||
const wxBitmap GetBitmapDisabled();
|
||||
wxBitmap GetBitmapDisabled();
|
||||
wxBitmap GetBitmapDisabled();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -133,7 +133,7 @@ public:
|
||||
@sa SetBitmapFocus()
|
||||
*/
|
||||
const wxBitmap GetBitmapFocus();
|
||||
wxBitmap GetBitmapFocus();
|
||||
wxBitmap GetBitmapFocus();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
@sa SetBitmapHover()
|
||||
*/
|
||||
const wxBitmap GetBitmapHover();
|
||||
wxBitmap GetBitmapHover();
|
||||
wxBitmap GetBitmapHover();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -155,7 +155,7 @@ public:
|
||||
@sa SetBitmapLabel()
|
||||
*/
|
||||
const wxBitmap GetBitmapLabel();
|
||||
wxBitmap GetBitmapLabel();
|
||||
wxBitmap GetBitmapLabel();
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -87,23 +87,23 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxBitmapComboBox();
|
||||
wxBitmapComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = @NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
wxBitmapComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
wxBitmapComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = @NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
wxBitmapComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -118,10 +118,10 @@ public:
|
||||
*/
|
||||
int Append(const wxString& item,
|
||||
const wxBitmap& bitmap = wxNullBitmap);
|
||||
int Append(const wxString& item, const wxBitmap& bitmap,
|
||||
void * clientData);
|
||||
int Append(const wxString& item, const wxBitmap& bitmap,
|
||||
wxClientData * clientData);
|
||||
int Append(const wxString& item, const wxBitmap& bitmap,
|
||||
void * clientData);
|
||||
int Append(const wxString& item, const wxBitmap& bitmap,
|
||||
wxClientData * clientData);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -138,14 +138,14 @@ public:
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -166,12 +166,12 @@ public:
|
||||
*/
|
||||
int Insert(const wxString& item, const wxBitmap& bitmap,
|
||||
unsigned int pos);
|
||||
int Insert(const wxString& item, const wxBitmap& bitmap,
|
||||
unsigned int pos,
|
||||
void * clientData);
|
||||
int Insert(const wxString& item, const wxBitmap& bitmap,
|
||||
unsigned int pos,
|
||||
wxClientData * clientData);
|
||||
int Insert(const wxString& item, const wxBitmap& bitmap,
|
||||
unsigned int pos,
|
||||
void * clientData);
|
||||
int Insert(const wxString& item, const wxBitmap& bitmap,
|
||||
unsigned int pos,
|
||||
wxClientData * clientData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -117,10 +117,10 @@ public:
|
||||
@sa wxBrushList, wxColour, wxColourDatabase
|
||||
*/
|
||||
wxBrush();
|
||||
wxBrush(const wxColour& colour, int style = wxSOLID);
|
||||
wxBrush(const wxString& colourName, int style);
|
||||
wxBrush(const wxBitmap& stippleBitmap);
|
||||
wxBrush(const wxBrush& brush);
|
||||
wxBrush(const wxColour& colour, int style = wxSOLID);
|
||||
wxBrush(const wxString& colourName, int style);
|
||||
wxBrush(const wxBitmap& stippleBitmap);
|
||||
wxBrush(const wxBrush& brush);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -233,9 +233,9 @@ public:
|
||||
@sa GetColour()
|
||||
*/
|
||||
void SetColour(wxColour& colour);
|
||||
void SetColour(const wxString& colourName);
|
||||
void SetColour(unsigned char red, unsigned char green,
|
||||
unsigned char blue);
|
||||
void SetColour(const wxString& colourName);
|
||||
void SetColour(unsigned char red, unsigned char green,
|
||||
unsigned char blue);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
size of new buffer.
|
||||
*/
|
||||
wxMemoryBuffer(const wxMemoryBuffer& src);
|
||||
wxMemoryBuffer(size_t size);
|
||||
wxMemoryBuffer(size_t size);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -85,13 +85,13 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxButton();
|
||||
wxButton(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "button");
|
||||
wxButton(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "button");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -58,13 +58,13 @@ public:
|
||||
The constructors.
|
||||
*/
|
||||
wxCalendarDateAttr();
|
||||
wxCalendarDateAttr(const wxColour& colText,
|
||||
const wxColour& colBack = wxNullColour,
|
||||
const wxColour& colBorder = wxNullColour,
|
||||
const wxFont& font = wxNullFont,
|
||||
wxCalendarDateBorder border = wxCAL_BORDER_NONE);
|
||||
wxCalendarDateAttr(wxCalendarDateBorder border,
|
||||
const wxColour& colBorder = wxNullColour);
|
||||
wxCalendarDateAttr(const wxColour& colText,
|
||||
const wxColour& colBack = wxNullColour,
|
||||
const wxColour& colBorder = wxNullColour,
|
||||
const wxFont& font = wxNullFont,
|
||||
wxCalendarDateBorder border = wxCAL_BORDER_NONE);
|
||||
wxCalendarDateAttr(wxCalendarDateBorder border,
|
||||
const wxColour& colBorder = wxNullColour);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -220,12 +220,12 @@ public:
|
||||
Does the same as Create() method.
|
||||
*/
|
||||
wxCalendarCtrl();
|
||||
wxCalendarCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxDateTime& date = wxDefaultDateTime,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxCAL_SHOW_HOLIDAYS,
|
||||
const wxString& name = wxCalendarNameStr);
|
||||
wxCalendarCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxDateTime& date = wxDefaultDateTime,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxCAL_SHOW_HOLIDAYS,
|
||||
const wxString& name = wxCalendarNameStr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -36,8 +36,8 @@ public:
|
||||
with the given window.
|
||||
*/
|
||||
wxCaret();
|
||||
wxCaret(wxWindow* window, int width, int height);
|
||||
wxCaret(wxWindowBase* window, const wxSize& size);
|
||||
wxCaret(wxWindow* window, int width, int height);
|
||||
wxCaret(wxWindowBase* window, const wxSize& size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
with the given window (same as constructor).
|
||||
*/
|
||||
bool Create(wxWindowBase* window, int width, int height);
|
||||
bool Create(wxWindowBase* window, const wxSize& size);
|
||||
bool Create(wxWindowBase* window, const wxSize& size);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
@c ( x, y )
|
||||
*/
|
||||
void GetPosition(int* x, int* y);
|
||||
wxPoint GetPosition();
|
||||
wxPoint GetPosition();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -95,7 +95,7 @@ public:
|
||||
@c ( width, height )
|
||||
*/
|
||||
void GetSize(int* width, int* height);
|
||||
wxSize GetSize();
|
||||
wxSize GetSize();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -125,7 +125,7 @@ public:
|
||||
Move the caret to given position (in logical coordinates).
|
||||
*/
|
||||
void Move(int x, int y);
|
||||
void Move(const wxPoint& pt);
|
||||
void Move(const wxPoint& pt);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -144,7 +144,7 @@ public:
|
||||
Changes the size of the caret.
|
||||
*/
|
||||
void SetSize(int width, int height);
|
||||
void SetSize(const wxSize& size);
|
||||
void SetSize(const wxSize& size);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -1,12 +1,12 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: chartype.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: chartype.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
wxT() is a macro which can be used with character and string literals (in other
|
||||
words, @c 'x' or @c "foo") to automatically convert them to Unicode in
|
||||
@@ -25,11 +25,11 @@
|
||||
@endcode
|
||||
*/
|
||||
wxChar wxT(char ch);
|
||||
const wxChar * wxT(const char * s);
|
||||
const wxChar * wxT(const char * s);
|
||||
//@}
|
||||
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
wxS is macro which can be used with character and string literals to either
|
||||
convert them to wide characters or strings in @c wchar_t-based Unicode
|
||||
@@ -42,6 +42,6 @@ wxChar wxT(char ch);
|
||||
@sa wxT
|
||||
*/
|
||||
wxStringCharType wxS(char ch);
|
||||
const wxStringCharType * wxS(const char * s);
|
||||
const wxStringCharType * wxS(const char * s);
|
||||
//@}
|
||||
|
||||
|
@@ -78,13 +78,13 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxCheckBox();
|
||||
wxCheckBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& val,
|
||||
const wxString& name = "checkBox");
|
||||
wxCheckBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& val,
|
||||
const wxString& name = "checkBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -69,21 +69,21 @@ public:
|
||||
Window name.
|
||||
*/
|
||||
wxCheckListBox();
|
||||
wxCheckListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n,
|
||||
const wxString choices[] = @NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "listBox");
|
||||
wxCheckListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "listBox");
|
||||
wxCheckListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n,
|
||||
const wxString choices[] = @NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "listBox");
|
||||
wxCheckListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "listBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -76,12 +76,12 @@ public:
|
||||
const wxString* choices,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
wxMultiChoiceDialog(wxWindow* parent,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
const wxArrayString& choices,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
wxMultiChoiceDialog(wxWindow* parent,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
const wxArrayString& choices,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -177,13 +177,13 @@ public:
|
||||
void** clientData = @NULL,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
wxSingleChoiceDialog(wxWindow* parent,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
const wxArrayString& choices,
|
||||
void** clientData = @NULL,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
wxSingleChoiceDialog(wxWindow* parent,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
const wxArrayString& choices,
|
||||
void** clientData = @NULL,
|
||||
long style = wxCHOICEDLG_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -231,16 +231,16 @@ int wxGetSingleChoiceIndex(const wxString& message,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
int wxGetSingleChoiceIndex(const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
int wxGetSingleChoiceIndex(const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -267,16 +267,16 @@ wxString wxGetSingleChoice(const wxString& message,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
wxString wxGetSingleChoice(const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
wxString wxGetSingleChoice(const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -296,17 +296,17 @@ wxString wxGetSingleChoiceData(const wxString& message,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
wxString wxGetSingleChoiceData(const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
const wxString& client_data[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
wxString wxGetSingleChoiceData(const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
const wxString& client_data[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -334,16 +334,16 @@ size_t wxGetMultipleChoices(wxArrayInt& selections,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
size_t wxGetMultipleChoices(wxArrayInt& selections,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
size_t wxGetMultipleChoices(wxArrayInt& selections,
|
||||
const wxString& message,
|
||||
const wxString& caption,
|
||||
int n,
|
||||
const wxString& choices[],
|
||||
wxWindow * parent = @NULL,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool centre = @true,
|
||||
int width=150,
|
||||
int height=200);
|
||||
//@}
|
||||
|
||||
|
@@ -70,20 +70,20 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxChoice();
|
||||
wxChoice(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size, int n,
|
||||
const wxString choices[],
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
wxChoice(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
wxChoice(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size, int n,
|
||||
const wxString choices[],
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
wxChoice(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -101,13 +101,13 @@ public:
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
bool Create(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
bool Create(wxWindow * parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "choice");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -53,10 +53,10 @@ public:
|
||||
Constructs a choicebook control.
|
||||
*/
|
||||
wxChoicebook();
|
||||
wxChoicebook(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxEmptyStr);
|
||||
wxChoicebook(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxEmptyStr);
|
||||
//@}
|
||||
};
|
||||
|
@@ -1,32 +1,32 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: clipboard.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: clipboard.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
Gets the name of a registered clipboard format, and puts it into the buffer @e
|
||||
formatName which is of maximum
|
||||
length @e maxCount. @e dataFormat must not specify a predefined clipboard
|
||||
format.
|
||||
/**
|
||||
Gets the name of a registered clipboard format, and puts it into the buffer @e
|
||||
formatName which is of maximum
|
||||
length @e maxCount. @e dataFormat must not specify a predefined clipboard
|
||||
format.
|
||||
*/
|
||||
bool wxGetClipboardFormatName(int dataFormat,
|
||||
const wxString& formatName,
|
||||
int maxCount);
|
||||
|
||||
|
||||
/**
|
||||
Gets data from the clipboard.
|
||||
/**
|
||||
Gets data from the clipboard.
|
||||
|
||||
@e dataFormat may be one of:
|
||||
@e dataFormat may be one of:
|
||||
|
||||
wxCF_TEXT or wxCF_OEMTEXT: returns a pointer to new memory containing a
|
||||
null-terminated text string.
|
||||
wxCF_BITMAP: returns a new wxBitmap.
|
||||
wxCF_TEXT or wxCF_OEMTEXT: returns a pointer to new memory containing a
|
||||
null-terminated text string.
|
||||
wxCF_BITMAP: returns a new wxBitmap.
|
||||
|
||||
The clipboard must have previously been opened for this call to succeed.
|
||||
The clipboard must have previously been opened for this call to succeed.
|
||||
*/
|
||||
wxObject * wxGetClipboardData(int dataFormat);
|
||||
|
||||
|
@@ -127,7 +127,7 @@ public:
|
||||
Create client data with string.
|
||||
*/
|
||||
wxStringClientData();
|
||||
wxStringClientData(const wxString& data);
|
||||
wxStringClientData(const wxString& data);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -99,7 +99,7 @@ public:
|
||||
Sets the currently selected colour. See wxColour::Set.
|
||||
*/
|
||||
void SetColour(const wxColour & col);
|
||||
void SetColour(const wxString & colname);
|
||||
void SetColour(const wxString & colname);
|
||||
//@}
|
||||
};
|
||||
|
||||
|
@@ -70,14 +70,14 @@ public:
|
||||
@ref setdesc() "command line description".
|
||||
*/
|
||||
wxCmdLineParser();
|
||||
wxCmdLineParser(int argc, char** argv);
|
||||
wxCmdLineParser(int argc, wchar_t** argv);
|
||||
wxCmdLineParser(const wxString& cmdline);
|
||||
wxCmdLineParser(const wxCmdLineEntryDesc* desc);
|
||||
wxCmdLineParser(const wxCmdLineEntryDesc* desc, int argc,
|
||||
char** argv);
|
||||
wxCmdLineParser(const wxCmdLineEntryDesc* desc,
|
||||
const wxString& cmdline);
|
||||
wxCmdLineParser(int argc, char** argv);
|
||||
wxCmdLineParser(int argc, wchar_t** argv);
|
||||
wxCmdLineParser(const wxString& cmdline);
|
||||
wxCmdLineParser(const wxCmdLineEntryDesc* desc);
|
||||
wxCmdLineParser(const wxCmdLineEntryDesc* desc, int argc,
|
||||
char** argv);
|
||||
wxCmdLineParser(const wxCmdLineEntryDesc* desc,
|
||||
const wxString& cmdline);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -206,9 +206,9 @@ public:
|
||||
value in the provided pointer (which should not be @NULL).
|
||||
*/
|
||||
bool Found(const wxString& name);
|
||||
bool Found(const wxString& name, wxString* value);
|
||||
bool Found(const wxString& name, long* value);
|
||||
bool Found(const wxString& name, wxDateTime* value);
|
||||
bool Found(const wxString& name, wxString* value);
|
||||
bool Found(const wxString& name, long* value);
|
||||
bool Found(const wxString& name, wxDateTime* value);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -268,8 +268,8 @@ public:
|
||||
Set command line to parse after using one of the constructors which don't do it.
|
||||
*/
|
||||
void SetCmdLine(int argc, char** argv);
|
||||
void SetCmdLine(int argc, wchar_t** argv);
|
||||
void SetCmdLine(const wxString& cmdline);
|
||||
void SetCmdLine(int argc, wchar_t** argv);
|
||||
void SetCmdLine(const wxString& cmdline);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -153,8 +153,8 @@ public:
|
||||
Construct an object from a print data object.
|
||||
*/
|
||||
wxPageSetupDialogData();
|
||||
wxPageSetupDialogData(wxPageSetupDialogData& data);
|
||||
wxPageSetupDialogData(wxPrintData& printData);
|
||||
wxPageSetupDialogData(wxPageSetupDialogData& data);
|
||||
wxPageSetupDialogData(wxPrintData& printData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -338,7 +338,7 @@ public:
|
||||
Assigns page setup data to this object.
|
||||
*/
|
||||
void operator =(const wxPrintData& data);
|
||||
void operator =(const wxPageSetupDialogData& data);
|
||||
void operator =(const wxPageSetupDialogData& data);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -453,7 +453,7 @@ public:
|
||||
Copy constructor.
|
||||
*/
|
||||
wxPrintData();
|
||||
wxPrintData(const wxPrintData& data);
|
||||
wxPrintData(const wxPrintData& data);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -587,7 +587,7 @@ public:
|
||||
but retained for backward compatibility.
|
||||
*/
|
||||
void operator =(const wxPrintData& data);
|
||||
void operator =(const wxPrintSetupData& data);
|
||||
void operator =(const wxPrintSetupData& data);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -615,8 +615,8 @@ public:
|
||||
Construct an object from a print dialog data object.
|
||||
*/
|
||||
wxPrintDialogData();
|
||||
wxPrintDialogData(wxPrintDialogData& dialogData);
|
||||
wxPrintDialogData(wxPrintData& printData);
|
||||
wxPrintDialogData(wxPrintDialogData& dialogData);
|
||||
wxPrintDialogData(wxPrintData& printData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -763,6 +763,6 @@ public:
|
||||
Assigns another print dialog data object to this object.
|
||||
*/
|
||||
void operator =(const wxPrintData& data);
|
||||
void operator =(const wxPrintDialogData& data);
|
||||
void operator =(const wxPrintDialogData& data);
|
||||
//@}
|
||||
};
|
||||
|
@@ -73,11 +73,11 @@ public:
|
||||
@sa wxColourDatabase
|
||||
*/
|
||||
wxColour();
|
||||
wxColour(unsigned char red, unsigned char green,
|
||||
unsigned char blue,
|
||||
unsigned char alpha=wxALPHA_OPAQUE);
|
||||
wxColour(const wxString& colourNname);
|
||||
wxColour(const wxColour& colour);
|
||||
wxColour(unsigned char red, unsigned char green,
|
||||
unsigned char blue,
|
||||
unsigned char alpha=wxALPHA_OPAQUE);
|
||||
wxColour(const wxString& colourNname);
|
||||
wxColour(const wxColour& colour);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -99,14 +99,14 @@ public:
|
||||
This function is new since wxWidgets version 2.7.0
|
||||
*/
|
||||
wxString GetAsString(long flags);
|
||||
wxC2S_NAME wxC2S_CSS_SYNTAX, to obtain
|
||||
the colour in the "rgb(r,g,b)" or "rgba(r,g,b,a)" syntax
|
||||
(e.g. wxColour(255,0,0,85) - "rgba(255,0,0,0.333)"), and
|
||||
wxC2S_HTML_SYNTAX, to obtain the colour as "#" followed
|
||||
by 6 hexadecimal digits (e.g. wxColour(255,0,0) - "#FF0000").
|
||||
This function never fails and always returns a non-empty string but asserts if
|
||||
the colour has alpha channel (i.e. is non opaque) but
|
||||
wxC2S_CSS_SYNTAX();
|
||||
wxC2S_NAME wxC2S_CSS_SYNTAX, to obtain
|
||||
the colour in the "rgb(r,g,b)" or "rgba(r,g,b,a)" syntax
|
||||
(e.g. wxColour(255,0,0,85) - "rgba(255,0,0,0.333)"), and
|
||||
wxC2S_HTML_SYNTAX, to obtain the colour as "#" followed
|
||||
by 6 hexadecimal digits (e.g. wxColour(255,0,0) - "#FF0000").
|
||||
This function never fails and always returns a non-empty string but asserts if
|
||||
the colour has alpha channel (i.e. is non opaque) but
|
||||
wxC2S_CSS_SYNTAX();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -152,8 +152,8 @@ wxC2S_CSS_SYNTAX();
|
||||
void Set(unsigned char red, unsigned char green,
|
||||
unsigned char blue,
|
||||
unsigned char alpha=wxALPHA_OPAQUE);
|
||||
void Set(unsigned long RGB);
|
||||
bool Set(const wxString & str);
|
||||
void Set(unsigned long RGB);
|
||||
bool Set(const wxString & str);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -169,7 +169,7 @@ wxC2S_CSS_SYNTAX();
|
||||
@sa wxColourDatabase
|
||||
*/
|
||||
wxColour operator =(const wxColour& colour);
|
||||
wxColour operator =(const wxString& colourName);
|
||||
wxColour operator =(const wxString& colourName);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -228,13 +228,13 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxComboCtrl();
|
||||
wxComboCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboCtrl");
|
||||
wxComboCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboCtrl");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -102,23 +102,23 @@ public:
|
||||
@sa Create(), wxValidator
|
||||
*/
|
||||
wxComboBox();
|
||||
wxComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = @NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
wxComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
wxComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value = "",
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
int n = 0,
|
||||
const wxString choices[] = @NULL,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
wxComboBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -178,14 +178,14 @@ public:
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxString& value,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "comboBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -419,21 +419,21 @@ public:
|
||||
Returns a boolean
|
||||
*/
|
||||
bool Read(const wxString& key, wxString* str);
|
||||
bool Read(const wxString& key, wxString* str,
|
||||
const wxString& defaultVal);
|
||||
wxString Read(const wxString& key,
|
||||
const
|
||||
wxString& defaultVal);
|
||||
bool Read(const wxString& key, long* l);
|
||||
bool Read(const wxString& key, long* l, long defaultVal);
|
||||
bool Read(const wxString& key, double* d);
|
||||
bool Read(const wxString& key, double* d, double defaultVal);
|
||||
bool Read(const wxString& key, bool* b);
|
||||
bool Read(const wxString& key, bool* d, bool defaultVal);
|
||||
bool Read(const wxString& key, wxMemoryBuffer* buf);
|
||||
bool Read(const wxString& key, T* value);
|
||||
bool Read(const wxString& key, T* value,
|
||||
T const& defaultVal);
|
||||
bool Read(const wxString& key, wxString* str,
|
||||
const wxString& defaultVal);
|
||||
wxString Read(const wxString& key,
|
||||
const
|
||||
wxString& defaultVal);
|
||||
bool Read(const wxString& key, long* l);
|
||||
bool Read(const wxString& key, long* l, long defaultVal);
|
||||
bool Read(const wxString& key, double* d);
|
||||
bool Read(const wxString& key, double* d, double defaultVal);
|
||||
bool Read(const wxString& key, bool* b);
|
||||
bool Read(const wxString& key, bool* d, bool defaultVal);
|
||||
bool Read(const wxString& key, wxMemoryBuffer* buf);
|
||||
bool Read(const wxString& key, T* value);
|
||||
bool Read(const wxString& key, T* value,
|
||||
T const& defaultVal);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -597,10 +597,10 @@ wxString& defaultVal);
|
||||
Writes a boolean
|
||||
*/
|
||||
bool Write(const wxString& key, const wxString& value);
|
||||
bool Write(const wxString& key, long value);
|
||||
bool Write(const wxString& key, double value);
|
||||
bool Write(const wxString& key, bool value);
|
||||
bool Write(const wxString& key, const wxMemoryBuffer& buf);
|
||||
bool Write(const wxString& key, const T& buf);
|
||||
bool Write(const wxString& key, long value);
|
||||
bool Write(const wxString& key, double value);
|
||||
bool Write(const wxString& key, bool value);
|
||||
bool Write(const wxString& key, const wxMemoryBuffer& buf);
|
||||
bool Write(const wxString& key, const T& buf);
|
||||
//@}
|
||||
};
|
||||
|
@@ -46,7 +46,7 @@ public:
|
||||
version, without the mnemonics characters.
|
||||
*/
|
||||
const wxString GetLabelText();
|
||||
static wxString GetLabelText(const wxString& label);
|
||||
static wxString GetLabelText(const wxString& label);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -1,33 +1,33 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: cpp.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: cpp.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
These macro return the concatenation of the tokens passed as their arguments.
|
||||
Unlike when using the preprocessor @c operator, the arguments undergo
|
||||
the macro expansion before being concatenated.
|
||||
*/
|
||||
wxCONCAT(x1, x2);
|
||||
wxCONCAT3(x1, x2, x3);
|
||||
wxCONCAT4(x1, x2, x3, x4);
|
||||
wxCONCAT5(x1, x2, x3, x4, x5);
|
||||
wxCONCAT(x1, x2);
|
||||
wxCONCAT3(x1, x2, x3);
|
||||
wxCONCAT4(x1, x2, x3, x4);
|
||||
wxCONCAT5(x1, x2, x3, x4, x5);
|
||||
//@}
|
||||
|
||||
|
||||
/**
|
||||
Returns the string representation of the given symbol which can be either a
|
||||
literal or a macro (hence the advantage of using this macro instead of the
|
||||
standard preprocessor @c # operator which doesn't work with macros).
|
||||
/**
|
||||
Returns the string representation of the given symbol which can be either a
|
||||
literal or a macro (hence the advantage of using this macro instead of the
|
||||
standard preprocessor @c # operator which doesn't work with macros).
|
||||
|
||||
Notice that this macro always produces a @c char string, use
|
||||
wxSTRINGIZE_T to build a wide string Unicode build.
|
||||
Notice that this macro always produces a @c char string, use
|
||||
wxSTRINGIZE_T to build a wide string Unicode build.
|
||||
|
||||
@sa wxCONCAT
|
||||
@sa wxCONCAT
|
||||
*/
|
||||
#define wxSTRINGIZE(x) /* implementation is private */
|
||||
|
||||
|
@@ -52,7 +52,7 @@ public:
|
||||
the application, for example.
|
||||
*/
|
||||
wxString GetHelp(const wxWindowBase* window);
|
||||
void AddHelp(wxWindowID id, const wxString& text);
|
||||
void AddHelp(wxWindowID id, const wxString& text);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -265,11 +265,11 @@ public:
|
||||
Window style.
|
||||
*/
|
||||
wxContextHelpButton();
|
||||
wxContextHelpButton(wxWindow* parent,
|
||||
wxWindowID id = wxID_CONTEXT_HELP,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW);
|
||||
wxContextHelpButton(wxWindow* parent,
|
||||
wxWindowID id = wxID_CONTEXT_HELP,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxBU_AUTODRAW);
|
||||
//@}
|
||||
};
|
||||
|
||||
|
@@ -68,14 +68,14 @@ public:
|
||||
or wxCB_SORT style).
|
||||
*/
|
||||
int Append(const wxString& item);
|
||||
int Append(const wxString& item, void * clientData);
|
||||
int Append(const wxString& item, wxClientData * clientData);
|
||||
void Append(const wxArrayString& strings);
|
||||
void Append(unsigned int n, const wxString* strings);
|
||||
void Append(unsigned int n, const wxString* strings,
|
||||
void ** clientData);
|
||||
void Append(unsigned int n, const wxString* strings,
|
||||
wxClientData ** clientData);
|
||||
int Append(const wxString& item, void * clientData);
|
||||
int Append(const wxString& item, wxClientData * clientData);
|
||||
void Append(const wxArrayString& strings);
|
||||
void Append(unsigned int n, const wxString* strings);
|
||||
void Append(unsigned int n, const wxString* strings,
|
||||
void ** clientData);
|
||||
void Append(unsigned int n, const wxString* strings,
|
||||
wxClientData ** clientData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -216,20 +216,20 @@ public:
|
||||
insertion failed for some reason, -1 is returned.
|
||||
*/
|
||||
int Insert(const wxString& item, unsigned int pos);
|
||||
int Insert(const wxString& item, unsigned int pos,
|
||||
void * clientData);
|
||||
int Insert(const wxString& item, unsigned int pos,
|
||||
wxClientData * clientData);
|
||||
void Insert(const wxArrayString& strings, unsigned int pos);
|
||||
void Insert(const wxArrayString& strings, unsigned int pos);
|
||||
void Insert(unsigned int n, const wxString* strings,
|
||||
unsigned int pos);
|
||||
void Insert(unsigned int n, const wxString* strings,
|
||||
unsigned int pos,
|
||||
void ** clientData);
|
||||
void Insert(unsigned int n, const wxString* strings,
|
||||
unsigned int pos,
|
||||
wxClientData ** clientData);
|
||||
int Insert(const wxString& item, unsigned int pos,
|
||||
void * clientData);
|
||||
int Insert(const wxString& item, unsigned int pos,
|
||||
wxClientData * clientData);
|
||||
void Insert(const wxArrayString& strings, unsigned int pos);
|
||||
void Insert(const wxArrayString& strings, unsigned int pos);
|
||||
void Insert(unsigned int n, const wxString* strings,
|
||||
unsigned int pos);
|
||||
void Insert(unsigned int n, const wxString* strings,
|
||||
unsigned int pos,
|
||||
void ** clientData);
|
||||
void Insert(unsigned int n, const wxString* strings,
|
||||
unsigned int pos,
|
||||
wxClientData ** clientData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -276,14 +276,14 @@ public:
|
||||
wxCB_SORT style).
|
||||
*/
|
||||
int Set(const wxString& item);
|
||||
int Set(const wxString& item, void * clientData);
|
||||
int Set(const wxString& item, wxClientData * clientData);
|
||||
void Set(const wxArrayString& stringsArray);
|
||||
void Set(unsigned int n, const wxString* strings);
|
||||
void Set(unsigned int n, const wxString* strings,
|
||||
void ** clientData);
|
||||
void Set(unsigned int n, const wxString* strings,
|
||||
wxClientData ** clientData);
|
||||
int Set(const wxString& item, void * clientData);
|
||||
int Set(const wxString& item, wxClientData * clientData);
|
||||
void Set(const wxArrayString& stringsArray);
|
||||
void Set(unsigned int n, const wxString* strings);
|
||||
void Set(unsigned int n, const wxString* strings,
|
||||
void ** clientData);
|
||||
void Set(unsigned int n, const wxString* strings,
|
||||
wxClientData ** clientData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -246,16 +246,16 @@ public:
|
||||
Pointer or reference to a cursor to copy.
|
||||
*/
|
||||
wxCursor();
|
||||
wxCursor(const char bits[], int width, int height,
|
||||
int hotSpotX=-1, int hotSpotY=-1,
|
||||
const char maskBits[]=@NULL,
|
||||
wxColour* fg=@NULL,
|
||||
wxColour* bg=@NULL);
|
||||
wxCursor(const wxString& cursorName, long type,
|
||||
int hotSpotX=0, int hotSpotY=0);
|
||||
wxCursor(int cursorId);
|
||||
wxCursor(const wxImage& image);
|
||||
wxCursor(const wxCursor& cursor);
|
||||
wxCursor(const char bits[], int width, int height,
|
||||
int hotSpotX=-1, int hotSpotY=-1,
|
||||
const char maskBits[]=@NULL,
|
||||
wxColour* fg=@NULL,
|
||||
wxColour* bg=@NULL);
|
||||
wxCursor(const wxString& cursorName, long type,
|
||||
int hotSpotX=0, int hotSpotY=0);
|
||||
wxCursor(int cursorId);
|
||||
wxCursor(const wxImage& image);
|
||||
wxCursor(const wxCursor& cursor);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -27,7 +27,7 @@ public:
|
||||
*/
|
||||
wxDataViewIconText(const wxString& text = wxEmptyString,
|
||||
const wxIcon& icon = wxNullIcon);
|
||||
wxDataViewIconText(const wxDataViewIconText& other);
|
||||
wxDataViewIconText(const wxDataViewIconText& other);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
*/
|
||||
wxDataViewEvent(wxEventType commandType = wxEVT_@NULL,
|
||||
int winid = 0);
|
||||
wxDataViewEvent(const wxDataViewEvent& event);
|
||||
wxDataViewEvent(const wxDataViewEvent& event);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -754,7 +754,7 @@ public:
|
||||
|
||||
*/
|
||||
wxDataViewItem(void* id = @NULL);
|
||||
wxDataViewItem(const wxDataViewItem& item);
|
||||
wxDataViewItem(const wxDataViewItem& item);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -829,11 +829,11 @@ public:
|
||||
Constructor. Calls Create().
|
||||
*/
|
||||
wxDataViewCtrl();
|
||||
wxDataViewCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator);
|
||||
wxDataViewCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -852,12 +852,12 @@ public:
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendBitmapColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendBitmapColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -881,12 +881,12 @@ public:
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendDateColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_ACTIVATABLE,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendDateColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_ACTIVATABLE,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -901,12 +901,12 @@ public:
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendIconTextColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendIconTextColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -921,12 +921,12 @@ public:
|
||||
int width = 80,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendProgressColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = 80,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendProgressColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = 80,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -940,12 +940,12 @@ public:
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendTextColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendTextColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = -1,
|
||||
wxAlignment align = wxALIGN_LEFT,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -959,12 +959,12 @@ public:
|
||||
int width = 30,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendToggleColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = 30,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn* AppendToggleColumn(const wxBitmap& label,
|
||||
unsigned int model_column,
|
||||
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
|
||||
int width = 30,
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1432,11 +1432,11 @@ public:
|
||||
Constructor. Calls Create().
|
||||
*/
|
||||
wxDataViewTreeCtrl();
|
||||
wxDataViewTreeCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDV_NO_HEADER,
|
||||
const wxValidator& validator = wxDefaultValidator);
|
||||
wxDataViewTreeCtrl(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDV_NO_HEADER,
|
||||
const wxValidator& validator = wxDefaultValidator);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1527,7 +1527,7 @@ public:
|
||||
Returns the store.
|
||||
*/
|
||||
wxDataViewTreeStore* GetStore();
|
||||
const wxDataViewTreeStore* GetStore();
|
||||
const wxDataViewTreeStore* GetStore();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1816,12 +1816,12 @@ public:
|
||||
int width = wxDVC_DEFAULT_WIDTH,
|
||||
wxAlignment align = wxALIGN_CENTRE,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn(const wxBitmap& bitmap,
|
||||
wxDataViewRenderer* renderer,
|
||||
unsigned int model_column,
|
||||
int width = wxDVC_DEFAULT_WIDTH,
|
||||
wxAlignment align = wxALIGN_CENTRE,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
wxDataViewColumn(const wxBitmap& bitmap,
|
||||
wxDataViewRenderer* renderer,
|
||||
unsigned int model_column,
|
||||
int width = wxDVC_DEFAULT_WIDTH,
|
||||
wxAlignment align = wxALIGN_CENTRE,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -79,8 +79,8 @@ public:
|
||||
Adds the given date span to this object.
|
||||
*/
|
||||
wxDateTime Add(const wxDateSpan& diff);
|
||||
wxDateTime Add(const wxDateSpan& diff);
|
||||
wxDateTime operator+=(const wxDateSpan& diff);
|
||||
wxDateTime Add(const wxDateSpan& diff);
|
||||
wxDateTime operator+=(const wxDateSpan& diff);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -484,9 +484,9 @@ public:
|
||||
*/
|
||||
static wxDateTime_t GetNumberOfDays(int year,
|
||||
Calendar cal = Gregorian);
|
||||
static wxDateTime_t GetNumberOfDays(Month month,
|
||||
int year = Inv_Year,
|
||||
Calendar cal = Gregorian);
|
||||
static wxDateTime_t GetNumberOfDays(Month month,
|
||||
int year = Inv_Year,
|
||||
Calendar cal = Gregorian);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -733,8 +733,8 @@ public:
|
||||
*/
|
||||
const char * ParseDate(const wxString& date,
|
||||
wxString::const_iterator * end = @NULL);
|
||||
const char * ParseDate(const char * date);
|
||||
const wchar_t * ParseDate(const wchar_t * date);
|
||||
const char * ParseDate(const char * date);
|
||||
const wchar_t * ParseDate(const wchar_t * date);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -750,8 +750,8 @@ public:
|
||||
*/
|
||||
const char * ParseDateTime(const wxString& datetime,
|
||||
wxString::const_iterator * end = @NULL);
|
||||
const char * ParseDateTime(const char * datetime);
|
||||
const wchar_t * ParseDateTime(const wchar_t * datetime);
|
||||
const char * ParseDateTime(const char * datetime);
|
||||
const wchar_t * ParseDateTime(const wchar_t * datetime);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -780,12 +780,12 @@ public:
|
||||
const wxString& format = wxDefaultDateTimeFormat,
|
||||
const wxDateTime& dateDef = wxDefaultDateTime,
|
||||
wxString::const_iterator * end = @NULL);
|
||||
const char * ParseFormat(const char * date,
|
||||
const wxString& format = wxDefaultDateTimeFormat,
|
||||
const wxDateTime& dateDef = wxDefaultDateTime);
|
||||
const wchar_t * ParseFormat(const wchar_t * date,
|
||||
const wxString& format = wxDefaultDateTimeFormat,
|
||||
const wxDateTime& dateDef = wxDefaultDateTime);
|
||||
const char * ParseFormat(const char * date,
|
||||
const wxString& format = wxDefaultDateTimeFormat,
|
||||
const wxDateTime& dateDef = wxDefaultDateTime);
|
||||
const wchar_t * ParseFormat(const wchar_t * date,
|
||||
const wxString& format = wxDefaultDateTimeFormat,
|
||||
const wxDateTime& dateDef = wxDefaultDateTime);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -834,8 +834,8 @@ public:
|
||||
*/
|
||||
const char * ParseRfc822Date(const wxString& date,
|
||||
wxString::const_iterator * end = @NULL);
|
||||
const char * ParseRfc822Date(const char* date);
|
||||
const wchar_t * ParseRfc822Date(const wchar_t* date);
|
||||
const char * ParseRfc822Date(const char* date);
|
||||
const wchar_t * ParseRfc822Date(const wchar_t* date);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -848,8 +848,8 @@ public:
|
||||
*/
|
||||
const char * ParseTime(const wxString& time,
|
||||
wxString::const_iterator * end = @NULL);
|
||||
const char * ParseTime(const char * time);
|
||||
const wchar_t * ParseTime(const wchar_t * time);
|
||||
const char * ParseTime(const char * time);
|
||||
const wchar_t * ParseTime(const wchar_t * time);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -931,11 +931,11 @@ public:
|
||||
Sets the date and time from the parameters.
|
||||
*/
|
||||
#define wxDateTime Set(wxDateTime_t day, Month month = Inv_Month,
|
||||
int year = Inv_Year,
|
||||
wxDateTime_t hour = 0,
|
||||
wxDateTime_t minute = 0,
|
||||
wxDateTime_t second = 0,
|
||||
wxDateTime_t millisec = 0) /* implementation is private */
|
||||
int year = Inv_Year,
|
||||
wxDateTime_t hour = 0,
|
||||
wxDateTime_t minute = 0,
|
||||
wxDateTime_t second = 0,
|
||||
wxDateTime_t millisec = 0) /* implementation is private */
|
||||
|
||||
/**
|
||||
Sets the country to use by default. This setting influences the DST
|
||||
@@ -1041,7 +1041,7 @@ public:
|
||||
*/
|
||||
bool SetToWeekDay(WeekDay weekday, int n = 1,
|
||||
Month month = Inv_Month,
|
||||
int year = Inv_Year);
|
||||
int year = Inv_Year);
|
||||
|
||||
/**
|
||||
Adjusts the date so that it will still lie in the same week as before, but its
|
||||
@@ -1194,7 +1194,7 @@ public:
|
||||
Same as @ref settm() Set.
|
||||
*/
|
||||
wxDateTime operator(const struct tm& tm);
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
@@ -1273,8 +1273,8 @@ public:
|
||||
second and third ones modify this object in place.
|
||||
*/
|
||||
wxDateSpan Add(const wxDateSpan& other);
|
||||
wxDateSpan Add(const wxDateSpan& other);
|
||||
wxDateSpan operator+=(const wxDateSpan& other);
|
||||
wxDateSpan Add(const wxDateSpan& other);
|
||||
wxDateSpan operator+=(const wxDateSpan& other);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1347,8 +1347,8 @@ public:
|
||||
object in place.
|
||||
*/
|
||||
wxDateSpan Multiply(int factor);
|
||||
wxDateSpan Multiply(int factor);
|
||||
wxDateSpan operator*=(int factor);
|
||||
wxDateSpan Multiply(int factor);
|
||||
wxDateSpan operator*=(int factor);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -1358,7 +1358,7 @@ public:
|
||||
@sa Negate()
|
||||
*/
|
||||
wxDateSpan Neg();
|
||||
wxDateSpan operator-();
|
||||
wxDateSpan operator-();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1398,8 +1398,8 @@ public:
|
||||
object, the second and third ones modify this object in place.
|
||||
*/
|
||||
wxDateSpan Subtract(const wxDateSpan& other);
|
||||
wxDateSpan Subtract(const wxDateSpan& other);
|
||||
wxDateSpan operator+=(const wxDateSpan& other);
|
||||
wxDateSpan Subtract(const wxDateSpan& other);
|
||||
wxDateSpan operator+=(const wxDateSpan& other);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1466,7 +1466,7 @@ public:
|
||||
minutes, seconds or milliseconds.
|
||||
*/
|
||||
wxTimeSpan();
|
||||
wxTimeSpan(long hours, long min, long sec, long msec);
|
||||
wxTimeSpan(long hours, long min, long sec, long msec);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1495,8 +1495,8 @@ public:
|
||||
Returns the sum of two timespans.
|
||||
*/
|
||||
wxTimeSpan Add(const wxTimeSpan& diff);
|
||||
wxTimeSpan Add(const wxTimeSpan& diff);
|
||||
wxTimeSpan operator+=(const wxTimeSpan& diff);
|
||||
wxTimeSpan Add(const wxTimeSpan& diff);
|
||||
wxTimeSpan operator+=(const wxTimeSpan& diff);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1677,8 +1677,8 @@ public:
|
||||
Multiplies timespan by a scalar.
|
||||
*/
|
||||
wxTimeSpan Multiply(int n);
|
||||
wxTimeSpan Multiply(int n);
|
||||
wxTimeSpan operator*=(int n);
|
||||
wxTimeSpan Multiply(int n);
|
||||
wxTimeSpan operator*=(int n);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -1686,7 +1686,7 @@ public:
|
||||
Negate the value of the timespan.
|
||||
*/
|
||||
wxTimeSpan Neg();
|
||||
wxTimeSpan operator-();
|
||||
wxTimeSpan operator-();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1751,8 +1751,8 @@ public:
|
||||
Returns the difference of two timespans.
|
||||
*/
|
||||
wxTimeSpan Subtract(const wxTimeSpan& diff);
|
||||
wxTimeSpan Subtract(const wxTimeSpan& diff);
|
||||
wxTimeSpan operator-=(const wxTimeSpan& diff);
|
||||
wxTimeSpan Subtract(const wxTimeSpan& diff);
|
||||
wxTimeSpan operator-=(const wxTimeSpan& diff);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -48,7 +48,7 @@ public:
|
||||
recommended to use default value (UTF-8).
|
||||
*/
|
||||
wxDataOutputStream(wxOutputStream& stream);
|
||||
wxDataOutputStream(wxOutputStream& stream);
|
||||
wxDataOutputStream(wxOutputStream& stream);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
16 bit unsigned integer to write is specified with the @e size variable.
|
||||
*/
|
||||
void Write16(wxUint16 i16);
|
||||
void Write16(const wxUint16 * buffer, size_t size);
|
||||
void Write16(const wxUint16 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
32 bit unsigned integer to write is specified with the @e size variable.
|
||||
*/
|
||||
void Write32(wxUint32 i32);
|
||||
void Write32(const wxUint32 * buffer, size_t size);
|
||||
void Write32(const wxUint32 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
64 bit unsigned integer to write is specified with the @e size variable.
|
||||
*/
|
||||
void Write64(wxUint64 i64);
|
||||
void Write64(const wxUint64 * buffer, size_t size);
|
||||
void Write64(const wxUint64 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
specified with the @e size variable.
|
||||
*/
|
||||
void Write8(wxUint8 i8);
|
||||
void Write8(const wxUint8 * buffer, size_t size);
|
||||
void Write8(const wxUint8 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
specified with the @e size variable.
|
||||
*/
|
||||
void WriteDouble(double f);
|
||||
void WriteDouble(const double * buffer, size_t size);
|
||||
void WriteDouble(const double * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -183,7 +183,7 @@ public:
|
||||
conv before you destroy this wxDataInputStream instance!
|
||||
*/
|
||||
wxDataInputStream(wxInputStream& stream);
|
||||
wxDataInputStream(wxInputStream& stream);
|
||||
wxDataInputStream(wxInputStream& stream);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -205,7 +205,7 @@ public:
|
||||
amount of 16 bit unsigned integer to read is specified by the @e size variable.
|
||||
*/
|
||||
wxUint16 Read16();
|
||||
void Read16(wxUint16 * buffer, size_t size);
|
||||
void Read16(wxUint16 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -215,7 +215,7 @@ public:
|
||||
32 bit unsigned integer to read is specified by the @e size variable.
|
||||
*/
|
||||
wxUint32 Read32();
|
||||
void Read32(wxUint32 * buffer, size_t size);
|
||||
void Read32(wxUint32 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -225,7 +225,7 @@ public:
|
||||
64 bit unsigned integer to read is specified by the @e size variable.
|
||||
*/
|
||||
wxUint64 Read64();
|
||||
void Read64(wxUint64 * buffer, size_t size);
|
||||
void Read64(wxUint64 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -234,7 +234,7 @@ public:
|
||||
bytes to read is specified by the @e size variable.
|
||||
*/
|
||||
wxUint8 Read8();
|
||||
void Read8(wxUint8 * buffer, size_t size);
|
||||
void Read8(wxUint8 * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -244,7 +244,7 @@ public:
|
||||
double to read is specified by the @e size variable.
|
||||
*/
|
||||
double ReadDouble();
|
||||
void ReadDouble(double * buffer, size_t size);
|
||||
void ReadDouble(double * buffer, size_t size);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -210,7 +210,7 @@ public:
|
||||
*/
|
||||
void DrawCheckMark(wxCoord x, wxCoord y, wxCoord width,
|
||||
wxCoord height);
|
||||
void DrawCheckMark(const wxRect & rect);
|
||||
void DrawCheckMark(const wxRect & rect);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -220,7 +220,7 @@ public:
|
||||
@sa DrawEllipse()
|
||||
*/
|
||||
void DrawCircle(wxCoord x, wxCoord y, wxCoord radius);
|
||||
void DrawCircle(const wxPoint& pt, wxCoord radius);
|
||||
void DrawCircle(const wxPoint& pt, wxCoord radius);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -233,8 +233,8 @@ public:
|
||||
*/
|
||||
void DrawEllipse(wxCoord x, wxCoord y, wxCoord width,
|
||||
wxCoord height);
|
||||
void DrawEllipse(const wxPoint& pt, const wxSize& size);
|
||||
void DrawEllipse(const wxRect& rect);
|
||||
void DrawEllipse(const wxPoint& pt, const wxSize& size);
|
||||
void DrawEllipse(const wxRect& rect);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -281,9 +281,9 @@ public:
|
||||
int alignment = wxALIGN_LEFT | wxALIGN_TOP,
|
||||
int indexAccel = -1,
|
||||
wxRect * rectBounding = @NULL);
|
||||
void DrawLabel(const wxString& text, const wxRect& rect,
|
||||
int alignment = wxALIGN_LEFT | wxALIGN_TOP,
|
||||
int indexAccel = -1);
|
||||
void DrawLabel(const wxString& text, const wxRect& rect,
|
||||
int alignment = wxALIGN_LEFT | wxALIGN_TOP,
|
||||
int indexAccel = -1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -302,9 +302,9 @@ public:
|
||||
*/
|
||||
void DrawLines(int n, wxPoint points[], wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0);
|
||||
void DrawLines(const wxPointList * points,
|
||||
wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0);
|
||||
void DrawLines(const wxPointList * points,
|
||||
wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -358,10 +358,10 @@ public:
|
||||
void DrawPolygon(int n, wxPoint points[], wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0,
|
||||
int fill_style = wxODDEVEN_RULE);
|
||||
void DrawPolygon(const wxPointList * points,
|
||||
wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0,
|
||||
int fill_style = wxODDEVEN_RULE);
|
||||
void DrawPolygon(const wxPointList * points,
|
||||
wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0,
|
||||
int fill_style = wxODDEVEN_RULE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -408,11 +408,11 @@ public:
|
||||
Draws a three-point spline using the current pen.
|
||||
*/
|
||||
void DrawSpline(int n, wxPoint points[]);
|
||||
void DrawSpline(const wxPointList * points);
|
||||
void DrawSpline(wxCoord x1, wxCoord y1, wxCoord x2,
|
||||
wxCoord y2,
|
||||
wxCoord x3,
|
||||
wxCoord y3);
|
||||
void DrawSpline(const wxPointList * points);
|
||||
void DrawSpline(wxCoord x1, wxCoord y1, wxCoord x2,
|
||||
wxCoord y2,
|
||||
wxCoord x3,
|
||||
wxCoord y3);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -547,7 +547,7 @@ public:
|
||||
wxCoord * h,
|
||||
wxCoord * heightLine = @NULL,
|
||||
wxFont * font = @NULL);
|
||||
wxSize GetMultiLineTextExtent(const wxString& string);
|
||||
wxSize GetMultiLineTextExtent(const wxString& string);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -605,7 +605,7 @@ public:
|
||||
@c ( width, height )
|
||||
*/
|
||||
void GetSize(wxCoord * width, wxCoord * height);
|
||||
wxSize GetSize();
|
||||
wxSize GetSize();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -613,7 +613,7 @@ public:
|
||||
Returns the horizontal and vertical resolution in millimetres.
|
||||
*/
|
||||
void GetSizeMM(wxCoord * width, wxCoord * height);
|
||||
wxSize GetSizeMM();
|
||||
wxSize GetSizeMM();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -645,7 +645,7 @@ public:
|
||||
wxCoord * descent = @NULL,
|
||||
wxCoord * externalLeading = @NULL,
|
||||
const wxFont * font = @NULL);
|
||||
wxSize GetTextExtent(const wxString& string);
|
||||
wxSize GetTextExtent(const wxString& string);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -674,10 +674,10 @@ public:
|
||||
void GradientFillConcentric(const wxRect& rect,
|
||||
const wxColour& initialColour,
|
||||
const wxColour& destColour);
|
||||
void GradientFillConcentric(const wxRect& rect,
|
||||
const wxColour& initialColour,
|
||||
const wxColour& destColour,
|
||||
const wxPoint& circleCenter);
|
||||
void GradientFillConcentric(const wxRect& rect,
|
||||
const wxColour& initialColour,
|
||||
const wxColour& destColour,
|
||||
const wxPoint& circleCenter);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -807,9 +807,9 @@ public:
|
||||
*/
|
||||
void SetClippingRegion(wxCoord x, wxCoord y, wxCoord width,
|
||||
wxCoord height);
|
||||
void SetClippingRegion(const wxPoint& pt, const wxSize& sz);
|
||||
void SetClippingRegion(const wxRect& rect);
|
||||
void SetClippingRegion(const wxRegion& region);
|
||||
void SetClippingRegion(const wxPoint& pt, const wxSize& sz);
|
||||
void SetClippingRegion(const wxRect& rect);
|
||||
void SetClippingRegion(const wxRegion& region);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1082,7 +1082,7 @@ public:
|
||||
The clipping region is automatically unset when this object is destroyed.
|
||||
*/
|
||||
wxDCClipper(wxDC& dc, const wxRegion& r);
|
||||
wxDCClipper(wxDC& dc, const wxRect& rect);
|
||||
wxDCClipper(wxDC& dc, int x, int y, int w, int h);
|
||||
wxDCClipper(wxDC& dc, const wxRect& rect);
|
||||
wxDCClipper(wxDC& dc, int x, int y, int w, int h);
|
||||
//@}
|
||||
};
|
||||
|
@@ -76,10 +76,10 @@ public:
|
||||
device context).
|
||||
*/
|
||||
wxBufferedDC();
|
||||
wxBufferedDC(wxDC * dc, const wxSize& area,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
wxBufferedDC(wxDC * dc, wxBitmap& buffer,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
wxBufferedDC(wxDC * dc, const wxSize& area,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
wxBufferedDC(wxDC * dc, wxBitmap& buffer,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -95,8 +95,8 @@ public:
|
||||
*/
|
||||
void Init(wxDC * dc, const wxSize& area,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
void Init(wxDC * dc, wxBitmap& buffer,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
void Init(wxDC * dc, wxBitmap& buffer,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -176,8 +176,8 @@ public:
|
||||
*/
|
||||
wxBufferedPaintDC(wxWindow * window, wxBitmap& buffer,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
wxBufferedPaintDC(wxWindow * window,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
wxBufferedPaintDC(wxWindow * window,
|
||||
int style = wxBUFFER_CLIENT_AREA);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -33,7 +33,7 @@ public:
|
||||
in creating a usable device context.
|
||||
*/
|
||||
wxMemoryDC();
|
||||
wxMemoryDC(wxBitmap& bitmap);
|
||||
wxMemoryDC(wxBitmap& bitmap);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -36,10 +36,10 @@ public:
|
||||
This constructor is deprecated and retained only for backward compatibility.
|
||||
*/
|
||||
wxPrinterDC(const wxPrintData& printData);
|
||||
wxPrinterDC(const wxString& driver, const wxString& device,
|
||||
const wxString& output,
|
||||
const bool interactive = @true,
|
||||
int orientation = wxPORTRAIT);
|
||||
wxPrinterDC(const wxString& driver, const wxString& device,
|
||||
const wxString& output,
|
||||
const bool interactive = @true,
|
||||
int orientation = wxPORTRAIT);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -36,9 +36,9 @@ public:
|
||||
use the wxPrintData constructor instead.
|
||||
*/
|
||||
wxPostScriptDC(const wxPrintData& printData);
|
||||
wxPostScriptDC(const wxString& output,
|
||||
bool interactive = @true,
|
||||
wxWindow * parent);
|
||||
wxPostScriptDC(const wxString& output,
|
||||
bool interactive = @true,
|
||||
wxWindow * parent);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -67,6 +67,6 @@ public:
|
||||
applications.
|
||||
*/
|
||||
bool StartDrawingOnTop(wxWindow* window);
|
||||
bool StartDrawingOnTop(wxRect* rect = @NULL);
|
||||
bool StartDrawingOnTop(wxRect* rect = @NULL);
|
||||
//@}
|
||||
};
|
||||
|
@@ -51,8 +51,8 @@ public:
|
||||
a filename @e f with size @e Width by @e Height at @e dpi resolution.
|
||||
*/
|
||||
wxSVGFileDC(wxString f);
|
||||
wxSVGFileDC(wxString f, int Width, int Height);
|
||||
wxSVGFileDC(wxString f, int Width, int Height, float dpi);
|
||||
wxSVGFileDC(wxString f, int Width, int Height);
|
||||
wxSVGFileDC(wxString f, int Width, int Height, float dpi);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -159,7 +159,7 @@ public:
|
||||
*/
|
||||
void DrawCheckMark(wxCoord x, wxCoord y, wxCoord width,
|
||||
wxCoord height);
|
||||
void DrawCheckMark(const wxRect & rect);
|
||||
void DrawCheckMark(const wxRect & rect);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -169,7 +169,7 @@ public:
|
||||
@sa wxDC::DrawEllipse
|
||||
*/
|
||||
void DrawCircle(wxCoord x, wxCoord y, wxCoord radius);
|
||||
void DrawCircle(const wxPoint& pt, wxCoord radius);
|
||||
void DrawCircle(const wxPoint& pt, wxCoord radius);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -182,8 +182,8 @@ public:
|
||||
*/
|
||||
void DrawEllipse(wxCoord x, wxCoord y, wxCoord width,
|
||||
wxCoord height);
|
||||
void DrawEllipse(const wxPoint& pt, const wxSize& size);
|
||||
void DrawEllipse(const wxRect& rect);
|
||||
void DrawEllipse(const wxPoint& pt, const wxSize& size);
|
||||
void DrawEllipse(const wxRect& rect);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -231,8 +231,8 @@ public:
|
||||
*/
|
||||
void DrawLines(int n, wxPoint points[], wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0);
|
||||
void DrawLines(wxList * points, wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0);
|
||||
void DrawLines(wxList * points, wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -257,9 +257,9 @@ public:
|
||||
void DrawPolygon(int n, wxPoint points[], wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0,
|
||||
int fill_style = wxODDEVEN_RULE);
|
||||
void DrawPolygon(wxList * points, wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0,
|
||||
int fill_style = wxODDEVEN_RULE);
|
||||
void DrawPolygon(wxList * points, wxCoord xoffset = 0,
|
||||
wxCoord yoffset = 0,
|
||||
int fill_style = wxODDEVEN_RULE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -302,10 +302,10 @@ public:
|
||||
Draws a three-point spline using the current pen.
|
||||
*/
|
||||
void DrawSpline(wxList * points);
|
||||
void DrawSpline(wxCoord x1, wxCoord y1, wxCoord x2,
|
||||
wxCoord y2,
|
||||
wxCoord x3,
|
||||
wxCoord y3);
|
||||
void DrawSpline(wxCoord x1, wxCoord y1, wxCoord x2,
|
||||
wxCoord y2,
|
||||
wxCoord x3,
|
||||
wxCoord y3);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -346,7 +346,7 @@ public:
|
||||
wxSVGFileDC::SetBackground).
|
||||
*/
|
||||
wxBrush GetBackground();
|
||||
const wxBrush GetBackground();
|
||||
const wxBrush GetBackground();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -361,7 +361,7 @@ public:
|
||||
Gets the current brush (see wxSVGFileDC::SetBrush).
|
||||
*/
|
||||
wxBrush GetBrush();
|
||||
const wxBrush GetBrush();
|
||||
const wxBrush GetBrush();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -385,7 +385,7 @@ public:
|
||||
Gets the current font (see wxSVGFileDC::SetFont).
|
||||
*/
|
||||
wxFont GetFont();
|
||||
const wxFont GetFont();
|
||||
const wxFont GetFont();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -403,7 +403,7 @@ public:
|
||||
Gets the current pen (see wxSVGFileDC::SetPen).
|
||||
*/
|
||||
wxPen GetPen();
|
||||
const wxPen GetPen();
|
||||
const wxPen GetPen();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -422,7 +422,7 @@ public:
|
||||
Gets the current text background colour (see wxSVGFileDC::SetTextBackground).
|
||||
*/
|
||||
wxColour GetTextBackground();
|
||||
const wxColour GetTextBackground();
|
||||
const wxColour GetTextBackground();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -451,7 +451,7 @@ public:
|
||||
Gets the current text foreground colour (see wxSVGFileDC::SetTextForeground).
|
||||
*/
|
||||
wxColour GetTextForeground();
|
||||
const wxColour GetTextForeground();
|
||||
const wxColour GetTextForeground();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -565,9 +565,9 @@ public:
|
||||
*/
|
||||
void SetClippingRegion(wxCoord x, wxCoord y, wxCoord width,
|
||||
wxCoord height);
|
||||
void SetClippingRegion(const wxPoint& pt, const wxSize& sz);
|
||||
void SetClippingRegion(const wxRect& rect);
|
||||
void SetClippingRegion(const wxRegion& region);
|
||||
void SetClippingRegion(const wxPoint& pt, const wxSize& sz);
|
||||
void SetClippingRegion(const wxRect& rect);
|
||||
void SetClippingRegion(const wxRegion& region);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -51,7 +51,7 @@ public:
|
||||
transactions.
|
||||
*/
|
||||
wxDDEConnection();
|
||||
wxDDEConnection(void* buffer, size_t size);
|
||||
wxDDEConnection(void* buffer, size_t size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -63,9 +63,9 @@ public:
|
||||
*/
|
||||
bool Advise(const wxString& item, const void* data, size_t size,
|
||||
wxIPCFormat format = wxIPC_PRIVATE);
|
||||
bool Advise(const wxString& item, const char* data);
|
||||
bool Advise(const wxString& item, const wchar_t* data);
|
||||
bool Advise(const wxString& item, const wxString data);
|
||||
bool Advise(const wxString& item, const char* data);
|
||||
bool Advise(const wxString& item, const wchar_t* data);
|
||||
bool Advise(const wxString& item, const wxString data);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -89,9 +89,9 @@ public:
|
||||
*/
|
||||
bool Execute(const void* data, size_t size,
|
||||
wxIPCFormat format = wxIPC_PRIVATE);
|
||||
bool Execute(const char* data);
|
||||
bool Execute(const wchar_t* data);
|
||||
bool Execute(const wxString data);
|
||||
bool Execute(const char* data);
|
||||
bool Execute(const wchar_t* data);
|
||||
bool Execute(const wxString data);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -166,9 +166,9 @@ public:
|
||||
*/
|
||||
bool Poke(const wxString& item, const void* data, size_t size,
|
||||
wxIPCFormat format = wxIPC_PRIVATE);
|
||||
bool Poke(const wxString& item, const char* data);
|
||||
bool Poke(const wxString& item, const wchar_t* data);
|
||||
bool Poke(const wxString& item, const wxString data);
|
||||
bool Poke(const wxString& item, const char* data);
|
||||
bool Poke(const wxString& item, const wchar_t* data);
|
||||
bool Poke(const wxString& item, const wxString data);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -1,29 +1,29 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: debug.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: debug.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
Will always generate an assert error if this code is reached (in debug mode).
|
||||
/**
|
||||
Will always generate an assert error if this code is reached (in debug mode).
|
||||
|
||||
See also: wxFAIL_MSG
|
||||
See also: wxFAIL_MSG
|
||||
*/
|
||||
#define wxFAIL() /* implementation is private */
|
||||
|
||||
|
||||
/**
|
||||
This function is called whenever one of debugging macros fails (i.e. condition
|
||||
is @false in an assertion). It is only defined in the debug mode, in release
|
||||
builds the wxCHECK failures don't result in anything.
|
||||
/**
|
||||
This function is called whenever one of debugging macros fails (i.e. condition
|
||||
is @false in an assertion). It is only defined in the debug mode, in release
|
||||
builds the wxCHECK failures don't result in anything.
|
||||
|
||||
To override the default behaviour in the debug builds which is to show the user
|
||||
a dialog asking whether he wants to abort the program, continue or continue
|
||||
ignoring any subsequent assert failures, you may override
|
||||
wxApp::OnAssertFailure which is called by this function if
|
||||
the global application object exists.
|
||||
To override the default behaviour in the debug builds which is to show the user
|
||||
a dialog asking whether he wants to abort the program, continue or continue
|
||||
ignoring any subsequent assert failures, you may override
|
||||
wxApp::OnAssertFailure which is called by this function if
|
||||
the global application object exists.
|
||||
*/
|
||||
void wxOnAssert(const char * fileName, int lineNumber,
|
||||
const char * func,
|
||||
|
@@ -1,25 +1,25 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: defs.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: defs.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
These macros will swap the bytes of the @e value variable from little
|
||||
endian to big endian or vice versa unconditionally, i.e. independently of the
|
||||
current platform.
|
||||
*/
|
||||
wxInt32 wxINT32_SWAP_ALWAYS(wxInt32 value);
|
||||
wxUint32 wxUINT32_SWAP_ALWAYS(wxUint32 value);
|
||||
wxInt16 wxINT16_SWAP_ALWAYS(wxInt16 value);
|
||||
wxUint16 wxUINT16_SWAP_ALWAYS(wxUint16 value);
|
||||
wxUint32 wxUINT32_SWAP_ALWAYS(wxUint32 value);
|
||||
wxInt16 wxINT16_SWAP_ALWAYS(wxInt16 value);
|
||||
wxUint16 wxUINT16_SWAP_ALWAYS(wxUint16 value);
|
||||
//@}
|
||||
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
This macro will swap the bytes of the @e value variable from little
|
||||
endian to big endian or vice versa if the program is compiled on a
|
||||
@@ -30,9 +30,9 @@ wxInt32 wxINT32_SWAP_ALWAYS(wxInt32 value);
|
||||
data in big-endian format.
|
||||
*/
|
||||
wxInt32 wxINT32_SWAP_ON_LE(wxInt32 value);
|
||||
wxUint32 wxUINT32_SWAP_ON_LE(wxUint32 value);
|
||||
wxInt16 wxINT16_SWAP_ON_LE(wxInt16 value);
|
||||
wxUint16 wxUINT16_SWAP_ON_LE(wxUint16 value);
|
||||
wxUint32 wxUINT32_SWAP_ON_LE(wxUint32 value);
|
||||
wxInt16 wxINT16_SWAP_ON_LE(wxInt16 value);
|
||||
wxUint16 wxUINT16_SWAP_ON_LE(wxUint16 value);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -100,9 +100,9 @@ wxInt32 wxINT32_SWAP_ON_LE(wxInt32 value);
|
||||
data in little-endian (for example Intel i386) format.
|
||||
*/
|
||||
wxInt32 wxINT32_SWAP_ON_BE(wxInt32 value);
|
||||
wxUint32 wxUINT32_SWAP_ON_BE(wxUint32 value);
|
||||
wxInt16 wxINT16_SWAP_ON_BE(wxInt16 value);
|
||||
wxUint16 wxUINT16_SWAP_ON_BE(wxUint16 value);
|
||||
wxUint32 wxUINT32_SWAP_ON_BE(wxUint32 value);
|
||||
wxInt16 wxINT16_SWAP_ON_BE(wxInt16 value);
|
||||
wxUint16 wxUINT16_SWAP_ON_BE(wxUint16 value);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -99,12 +99,12 @@ public:
|
||||
@sa Create()
|
||||
*/
|
||||
wxDialog();
|
||||
wxDialog(wxWindow* parent, wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE,
|
||||
const wxString& name = "dialogBox");
|
||||
wxDialog(wxWindow* parent, wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE,
|
||||
const wxString& name = "dialogBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -130,7 +130,7 @@ public:
|
||||
to test for errors.
|
||||
*/
|
||||
wxDir();
|
||||
wxDir(const wxString& dir);
|
||||
wxDir(const wxString& dir);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -59,14 +59,14 @@ public:
|
||||
The window name.
|
||||
*/
|
||||
wxGenericDirCtrl();
|
||||
wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = -1,
|
||||
const wxString& dir = wxDirDialogDefaultFolderStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDIRCTRL_3D_INTERNAL|wxBORDER_SUNKEN,
|
||||
const wxString& filter = wxEmptyString,
|
||||
int defaultFilter = 0,
|
||||
const wxString& name = wxTreeCtrlNameStr);
|
||||
wxGenericDirCtrl(wxWindow* parent, const wxWindowID id = -1,
|
||||
const wxString& dir = wxDirDialogDefaultFolderStr,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDIRCTRL_3D_INTERNAL|wxBORDER_SUNKEN,
|
||||
const wxString& filter = wxEmptyString,
|
||||
int defaultFilter = 0,
|
||||
const wxString& name = wxTreeCtrlNameStr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -223,10 +223,10 @@ public:
|
||||
const wxIconOrCursor& iconCopy = wxNullIconOrCursor,
|
||||
const wxIconOrCursor& iconMove = wxNullIconOrCursor,
|
||||
const wxIconOrCursor& iconNone = wxNullIconOrCursor);
|
||||
wxDropSource(wxDataObject& data, wxWindow* win = @NULL,
|
||||
const wxIconOrCursor& iconCopy = wxNullIconOrCursor,
|
||||
const wxIconOrCursor& iconMove = wxNullIconOrCursor,
|
||||
const wxIconOrCursor& iconNone = wxNullIconOrCursor);
|
||||
wxDropSource(wxDataObject& data, wxWindow* win = @NULL,
|
||||
const wxIconOrCursor& iconCopy = wxNullIconOrCursor,
|
||||
const wxIconOrCursor& iconMove = wxNullIconOrCursor,
|
||||
const wxIconOrCursor& iconNone = wxNullIconOrCursor);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -33,13 +33,13 @@ public:
|
||||
Constructor.
|
||||
*/
|
||||
wxDocMDIParentFrame();
|
||||
wxDocMDIParentFrame(wxDocManager* manager, wxFrame * parent,
|
||||
wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = "frame");
|
||||
wxDocMDIParentFrame(wxDocManager* manager, wxFrame * parent,
|
||||
wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = "frame");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -393,7 +393,7 @@ public:
|
||||
Appends the files in the history list, to the given menu only.
|
||||
*/
|
||||
void FileHistoryAddFilesToMenu();
|
||||
void FileHistoryAddFilesToMenu(wxMenu* menu);
|
||||
void FileHistoryAddFilesToMenu(wxMenu* menu);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -983,13 +983,13 @@ public:
|
||||
Constructor.
|
||||
*/
|
||||
wxDocParentFrame();
|
||||
wxDocParentFrame(wxDocManager* manager, wxFrame * parent,
|
||||
wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = "frame");
|
||||
wxDocParentFrame(wxDocManager* manager, wxFrame * parent,
|
||||
wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = "frame");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1162,7 +1162,7 @@ public:
|
||||
was configured.
|
||||
*/
|
||||
virtual istream LoadObject(istream& stream);
|
||||
virtual wxInputStream LoadObject(wxInputStream& stream);
|
||||
virtual wxInputStream LoadObject(wxInputStream& stream);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1267,7 +1267,7 @@ public:
|
||||
was configured.
|
||||
*/
|
||||
virtual ostream SaveObject(ostream& stream);
|
||||
virtual wxOutputStream SaveObject(wxOutputStream& stream);
|
||||
virtual wxOutputStream SaveObject(wxOutputStream& stream);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1423,7 +1423,7 @@ public:
|
||||
Appends the files in the history list, to the given menu only.
|
||||
*/
|
||||
void AddFilesToMenu();
|
||||
void AddFilesToMenu(wxMenu* menu);
|
||||
void AddFilesToMenu(wxMenu* menu);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -79,15 +79,15 @@ public:
|
||||
Tree or list control item id.
|
||||
*/
|
||||
wxDragImage();
|
||||
wxDragImage(const wxBitmap& image,
|
||||
const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxIcon& image,
|
||||
const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxString& text,
|
||||
const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxTreeCtrl& treeCtrl, wxTreeItemId& id);
|
||||
wxDragImage(const wxListCtrl& treeCtrl, long id);
|
||||
wxDragImage(const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxBitmap& image,
|
||||
const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxIcon& image,
|
||||
const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxString& text,
|
||||
const wxCursor& cursor = wxNullCursor);
|
||||
wxDragImage(const wxTreeCtrl& treeCtrl, wxTreeItemId& id);
|
||||
wxDragImage(const wxListCtrl& treeCtrl, long id);
|
||||
wxDragImage(const wxCursor& cursor = wxNullCursor);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -133,8 +133,8 @@ public:
|
||||
bool BeginDrag(const wxPoint& hotspot, wxWindow* window,
|
||||
bool fullScreen = @false,
|
||||
wxRect* rect = @NULL);
|
||||
bool BeginDrag(const wxPoint& hotspot, wxWindow* window,
|
||||
wxWindow* boundingWindow);
|
||||
bool BeginDrag(const wxPoint& hotspot, wxWindow* window,
|
||||
wxWindow* boundingWindow);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -178,9 +178,9 @@ public:
|
||||
append a lot of items.
|
||||
*/
|
||||
void Add(T item, size_t copies = 1);
|
||||
size_t Add(T item);
|
||||
void Add(T * item);
|
||||
void Add(T & item, size_t copies = 1);
|
||||
size_t Add(T item);
|
||||
void Add(T * item);
|
||||
void Add(T & item, size_t copies = 1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -255,9 +255,9 @@ public:
|
||||
should return a negative, zero or positive value according to whether the first
|
||||
element passed to it is less than, equal to or greater than the second one.
|
||||
*/
|
||||
wxArray();
|
||||
wxObjArray();
|
||||
wxSortedArray();
|
||||
wxArray();
|
||||
wxObjArray();
|
||||
wxSortedArray();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -301,7 +301,7 @@ public:
|
||||
in the array.
|
||||
*/
|
||||
int Index(T& item, bool searchFromEnd = @false);
|
||||
int Index(T& item);
|
||||
int Index(T& item);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -331,8 +331,8 @@ public:
|
||||
between the overloaded versions of this function.
|
||||
*/
|
||||
void Insert(T item, size_t n, size_t copies = 1);
|
||||
void Insert(T * item, size_t n);
|
||||
void Insert(T & item, size_t n, size_t copies = 1);
|
||||
void Insert(T * item, size_t n);
|
||||
void Insert(T & item, size_t n, size_t copies = 1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -475,7 +475,7 @@ public:
|
||||
See also WX_CLEAR_ARRAY macro which deletes all
|
||||
elements of a wxArray (supposed to contain pointers).
|
||||
*/
|
||||
Remove(T item);
|
||||
Remove(T item);
|
||||
|
||||
/**
|
||||
Removes @e count elements starting at @e index from the array. When an
|
||||
@@ -486,7 +486,7 @@ public:
|
||||
See also WX_CLEAR_ARRAY macro which deletes all
|
||||
elements of a wxArray (supposed to contain pointers).
|
||||
*/
|
||||
RemoveAt(size_t index, size_t count = 1);
|
||||
RemoveAt(size_t index, size_t count = 1);
|
||||
|
||||
/**
|
||||
WX_CLEAR_ARRAY
|
||||
@@ -567,9 +567,9 @@ public:
|
||||
You must use WX_DEFINE_OBJARRAY macro to define
|
||||
the array class - otherwise you would get link errors.
|
||||
*/
|
||||
WX_DECLARE_OBJARRAY(T, name);
|
||||
WX_DECLARE_EXPORTED_OBJARRAY(T, name);
|
||||
WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name);
|
||||
WX_DECLARE_OBJARRAY(T, name);
|
||||
WX_DECLARE_EXPORTED_OBJARRAY(T, name);
|
||||
WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -584,9 +584,9 @@ public:
|
||||
wxArrayInt,
|
||||
@b wxArrayLong, @b wxArrayShort, @b wxArrayDouble, @b wxArrayPtrVoid.
|
||||
*/
|
||||
WX_DEFINE_ARRAY(T, name);
|
||||
WX_DEFINE_EXPORTED_ARRAY(T, name);
|
||||
WX_DEFINE_USER_EXPORTED_ARRAY(T, name, exportspec);
|
||||
WX_DEFINE_ARRAY(T, name);
|
||||
WX_DEFINE_EXPORTED_ARRAY(T, name);
|
||||
WX_DEFINE_USER_EXPORTED_ARRAY(T, name, exportspec);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -603,9 +603,9 @@ public:
|
||||
|
||||
Example of usage:
|
||||
*/
|
||||
WX_DEFINE_OBJARRAY(name);
|
||||
WX_DEFINE_EXPORTED_OBJARRAY(name);
|
||||
WX_DEFINE_USER_EXPORTED_OBJARRAY(name);
|
||||
WX_DEFINE_OBJARRAY(name);
|
||||
WX_DEFINE_EXPORTED_OBJARRAY(name);
|
||||
WX_DEFINE_USER_EXPORTED_OBJARRAY(name);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -619,9 +619,9 @@ public:
|
||||
You will have to initialize the objects of this class by passing a comparison
|
||||
function to the array object constructor like this:
|
||||
*/
|
||||
WX_DEFINE_SORTED_ARRAY(T, name);
|
||||
WX_DEFINE_SORTED_EXPORTED_ARRAY(T, name);
|
||||
WX_DEFINE_SORTED_USER_EXPORTED_ARRAY(T, name);
|
||||
WX_DEFINE_SORTED_ARRAY(T, name);
|
||||
WX_DEFINE_SORTED_EXPORTED_ARRAY(T, name);
|
||||
WX_DEFINE_SORTED_USER_EXPORTED_ARRAY(T, name);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -637,12 +637,12 @@ public:
|
||||
the items of pointer type) for wxArray and wxSortedArray and a deep copy (i.e.
|
||||
the array element are copied too) for wxObjArray.
|
||||
*/
|
||||
wxArray(const wxArray& array);
|
||||
wxSortedArray(const wxSortedArray& array);
|
||||
wxObjArray(const wxObjArray& array);
|
||||
wxArray operator=(const wxArray& array);
|
||||
wxSortedArray operator=(const wxSortedArray& array);
|
||||
wxObjArray operator=(const wxObjArray& array);
|
||||
wxArray(const wxArray& array);
|
||||
wxSortedArray(const wxSortedArray& array);
|
||||
wxObjArray(const wxObjArray& array);
|
||||
wxArray operator=(const wxArray& array);
|
||||
wxSortedArray operator=(const wxSortedArray& array);
|
||||
wxObjArray operator=(const wxObjArray& array);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -651,8 +651,8 @@ public:
|
||||
done by wxArray and wxSortedArray versions - you may use
|
||||
WX_CLEAR_ARRAY macro for this.
|
||||
*/
|
||||
~wxArray();
|
||||
~wxSortedArray();
|
||||
~wxObjArray();
|
||||
~wxArray();
|
||||
~wxSortedArray();
|
||||
~wxObjArray();
|
||||
//@}
|
||||
};
|
||||
|
@@ -215,8 +215,8 @@ public:
|
||||
Constructor. Second form calls Load().
|
||||
*/
|
||||
wxDynamicLibrary();
|
||||
wxDynamicLibrary(const wxString& name,
|
||||
int flags = wxDL_DEFAULT);
|
||||
wxDynamicLibrary(const wxString& name,
|
||||
int flags = wxDL_DEFAULT);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -380,7 +380,7 @@ public:
|
||||
the handle somewhere and call this static method later to unload it.
|
||||
*/
|
||||
void Unload();
|
||||
static void Unload(wxDllType handle);
|
||||
static void Unload(wxDllType handle);
|
||||
//@}
|
||||
};
|
||||
|
||||
|
@@ -64,12 +64,12 @@ public:
|
||||
@sa Create()
|
||||
*/
|
||||
wxEditableListBox();
|
||||
wxEditableListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxEL_DEFAULT_STYLE,
|
||||
const wxString& name = "editableListBox");
|
||||
wxEditableListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxString& label,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxEL_DEFAULT_STYLE,
|
||||
const wxString& name = "editableListBox");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -48,12 +48,12 @@ public:
|
||||
Convert wxString and return new wxString object.
|
||||
*/
|
||||
bool Convert(const char* input, char* output);
|
||||
bool Convert(const wchar_t* input, wchar_t* output);
|
||||
bool Convert(const char* input, wchar_t* output);
|
||||
bool Convert(const wchar_t* input, char* output);
|
||||
bool Convert(char* str);
|
||||
bool Convert(wchar_t* str);
|
||||
wxString Convert(const wxString& input);
|
||||
bool Convert(const wchar_t* input, wchar_t* output);
|
||||
bool Convert(const char* input, wchar_t* output);
|
||||
bool Convert(const wchar_t* input, char* output);
|
||||
bool Convert(char* str);
|
||||
bool Convert(wchar_t* str);
|
||||
wxString Convert(const wxString& input);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -93,7 +93,7 @@ public:
|
||||
encodings. (It usually returns only one encoding.)
|
||||
*/
|
||||
static wxFontEncodingArray GetPlatformEquivalents(wxFontEncoding enc,
|
||||
int platform = wxPLATFORM_CURRENT);
|
||||
int platform = wxPLATFORM_CURRENT);
|
||||
|
||||
/**
|
||||
Initialize conversion. Both output or input encoding may
|
||||
|
@@ -138,7 +138,7 @@ public:
|
||||
Obtains the position (in client coordinates) at which the key was pressed.
|
||||
*/
|
||||
wxPoint GetPosition();
|
||||
void GetPosition(long * x, long * y);
|
||||
void GetPosition(long * x, long * y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -966,8 +966,8 @@ public:
|
||||
returned position is @c wxDefaultPosition.
|
||||
*/
|
||||
wxPoint GetPosition();
|
||||
void GetPosition(wxCoord* x, wxCoord* y);
|
||||
void GetPosition(long* x, long* y);
|
||||
void GetPosition(wxCoord* x, wxCoord* y);
|
||||
void GetPosition(long* x, long* y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1966,7 +1966,7 @@ public:
|
||||
Constructor.
|
||||
*/
|
||||
wxNavigationKeyEvent();
|
||||
wxNavigationKeyEvent(const wxNavigationKeyEvent& event);
|
||||
wxNavigationKeyEvent(const wxNavigationKeyEvent& event);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -2327,14 +2327,14 @@ public:
|
||||
wxObjectEventFunction function,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
void Connect(int id, wxEventType eventType,
|
||||
wxObjectEventFunction function,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
void Connect(wxEventType eventType,
|
||||
wxObjectEventFunction function,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
void Connect(int id, wxEventType eventType,
|
||||
wxObjectEventFunction function,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
void Connect(wxEventType eventType,
|
||||
wxObjectEventFunction function,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -2371,16 +2371,16 @@ public:
|
||||
wxObjectEventFunction function = @NULL,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
bool Disconnect(int id = wxID_ANY,
|
||||
wxEventType eventType = wxEVT_@NULL,
|
||||
wxObjectEventFunction function = @NULL,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
bool Disconnect(int id, int lastId = wxID_ANY,
|
||||
wxEventType eventType = wxEVT_@NULL,
|
||||
wxObjectEventFunction function = @NULL,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
bool Disconnect(int id = wxID_ANY,
|
||||
wxEventType eventType = wxEVT_@NULL,
|
||||
wxObjectEventFunction function = @NULL,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
bool Disconnect(int id, int lastId = wxID_ANY,
|
||||
wxEventType eventType = wxEVT_@NULL,
|
||||
wxObjectEventFunction function = @NULL,
|
||||
wxObject* userData = @NULL,
|
||||
wxEvtHandler* eventSink = @NULL);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -133,10 +133,10 @@ public:
|
||||
The @e parent and @e data parameters must be non-@NULL.
|
||||
*/
|
||||
wxFindReplaceDialog();
|
||||
wxFindReplaceDialog(wxWindow * parent,
|
||||
wxFindReplaceData* data,
|
||||
const wxString& title,
|
||||
int style = 0);
|
||||
wxFindReplaceDialog(wxWindow * parent,
|
||||
wxFindReplaceData* data,
|
||||
const wxString& title,
|
||||
int style = 0);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -42,8 +42,8 @@ public:
|
||||
An existing file descriptor, such as stderr.
|
||||
*/
|
||||
wxFFile();
|
||||
wxFFile(const wxString& filename, const wxString& mode = "r");
|
||||
wxFFile(FILE* fp);
|
||||
wxFFile(const wxString& filename, const wxString& mode = "r");
|
||||
wxFFile(FILE* fp);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -161,9 +161,9 @@ public:
|
||||
descriptors)
|
||||
*/
|
||||
wxFile();
|
||||
wxFile(const wxString& filename,
|
||||
wxFile::OpenMode mode = wxFile::read);
|
||||
wxFile(int fd);
|
||||
wxFile(const wxString& filename,
|
||||
wxFile::OpenMode mode = wxFile::read);
|
||||
wxFile(int fd);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -278,8 +278,8 @@ public:
|
||||
if there was an error.
|
||||
*/
|
||||
size_t Read(void* buffer, size_t count);
|
||||
Parameters Return value
|
||||
The number of bytes read, or the symbol wxInvalidOffset();
|
||||
Parameters Return value
|
||||
The number of bytes read, or the symbol wxInvalidOffset();
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -75,14 +75,14 @@ public:
|
||||
creation failed.
|
||||
*/
|
||||
wxFileCtrl();
|
||||
wxFileCtrl(wxWindow * parent, wxWindowID id,
|
||||
const wxString& defaultDirectory = wxEmptyString,
|
||||
const wxString& defaultFilename = wxEmptyString,
|
||||
const wxPoint& wildCard = wxFileSelectorDefaultWildcardStr,
|
||||
long style = wxFC_DEFAULT_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
const wxString& name = "filectrl");
|
||||
wxFileCtrl(wxWindow * parent, wxWindowID id,
|
||||
const wxString& defaultDirectory = wxEmptyString,
|
||||
const wxString& defaultFilename = wxEmptyString,
|
||||
const wxPoint& wildCard = wxFileSelectorDefaultWildcardStr,
|
||||
long style = wxFC_DEFAULT_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
const wxString& name = "filectrl");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -219,5 +219,5 @@ public:
|
||||
/**
|
||||
Sets the files changed by this event.
|
||||
*/
|
||||
wxFileCtrlEvent::SetFiles(const wxArrayString files);
|
||||
wxFileCtrlEvent::SetFiles(const wxArrayString files);
|
||||
};
|
||||
|
@@ -32,7 +32,7 @@ public:
|
||||
Constructs the object calling the Add() function.
|
||||
*/
|
||||
wxPathList();
|
||||
wxPathList(const wxArrayString& arr);
|
||||
wxPathList(const wxArrayString& arr);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
(this is why FindValidPath() may return relative paths).
|
||||
*/
|
||||
bool Add(const wxString& path);
|
||||
void Add(const wxArrayString& arr);
|
||||
void Add(const wxArrayString& arr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -212,7 +212,7 @@ time_t wxFileModificationTime(const wxString& filename);
|
||||
temporary storage that should not be deallocated.
|
||||
*/
|
||||
wxString wxFileNameFromPath(const wxString& path);
|
||||
char * wxFileNameFromPath(char * path);
|
||||
char * wxFileNameFromPath(char * path);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -343,7 +343,7 @@ wxString wxFindFirstFile(const wxString& spec, int flags = 0);
|
||||
@endcode
|
||||
*/
|
||||
wxFileKind wxGetFileKind(int fd);
|
||||
wxFileKind wxGetFileKind(FILE * fp);
|
||||
wxFileKind wxGetFileKind(FILE * fp);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -353,7 +353,7 @@ wxFileKind wxGetFileKind(int fd);
|
||||
instead.
|
||||
*/
|
||||
char * wxGetTempFileName(const wxString& prefix, char * buf=@NULL);
|
||||
bool wxGetTempFileName(const wxString& prefix, wxString& buf);
|
||||
bool wxGetTempFileName(const wxString& prefix, wxString& buf);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -73,18 +73,18 @@ public:
|
||||
Constructor from a volume name, a directory name, base file name and extension.
|
||||
*/
|
||||
wxFileName();
|
||||
wxFileName(const wxFileName& filename);
|
||||
wxFileName(const wxString& fullpath,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxString& path, const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxString& path, const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxString& volume, const wxString& path,
|
||||
const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxFileName& filename);
|
||||
wxFileName(const wxString& fullpath,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxString& path, const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxString& path, const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
wxFileName(const wxString& volume, const wxString& path,
|
||||
const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -100,22 +100,22 @@ public:
|
||||
Creates the file name from various combinations of data.
|
||||
*/
|
||||
void Assign(const wxFileName& filepath);
|
||||
void Assign(const wxString& fullpath,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& volume, const wxString& path,
|
||||
const wxString& name,
|
||||
const wxString& ext,
|
||||
bool hasExt,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& volume, const wxString& path,
|
||||
const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& path, const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& path, const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& fullpath,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& volume, const wxString& path,
|
||||
const wxString& name,
|
||||
const wxString& ext,
|
||||
bool hasExt,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& volume, const wxString& path,
|
||||
const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& path, const wxString& name,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
void Assign(const wxString& path, const wxString& name,
|
||||
const wxString& ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -192,7 +192,7 @@ public:
|
||||
Returns @true if the directory with this name exists.
|
||||
*/
|
||||
bool DirExists();
|
||||
static bool DirExists(const wxString& dir);
|
||||
static bool DirExists(const wxString& dir);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -333,7 +333,7 @@ public:
|
||||
@sa DirExists()
|
||||
*/
|
||||
bool FileExists();
|
||||
static bool FileExists(const wxString& file);
|
||||
static bool FileExists(const wxString& file);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -414,9 +414,9 @@ public:
|
||||
*/
|
||||
wxString GetHumanReadableSize(const wxString& failmsg = "Not available",
|
||||
int precision = 1);
|
||||
static wxString GetHumanReadableSize(const wxULongLong& bytes,
|
||||
const wxString& nullsize = "Not available",
|
||||
int precision = 1);
|
||||
static wxString GetHumanReadableSize(const wxULongLong& bytes,
|
||||
const wxString& nullsize = "Not available",
|
||||
int precision = 1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -508,7 +508,7 @@ public:
|
||||
by another process) the returned value is @c wxInvalidSize.
|
||||
*/
|
||||
wxULongLong GetSize();
|
||||
static wxULongLong GetSize(const wxString& filename);
|
||||
static wxULongLong GetSize(const wxString& filename);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -600,7 +600,7 @@ public:
|
||||
doesn't imply that you have read permissions on the files contained.
|
||||
*/
|
||||
bool IsDirReadable();
|
||||
static bool IsDirReadable(const wxString& dir);
|
||||
static bool IsDirReadable(const wxString& dir);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -611,7 +611,7 @@ public:
|
||||
directory.
|
||||
*/
|
||||
bool IsDirWritable();
|
||||
static bool IsDirWritable(const wxString& dir);
|
||||
static bool IsDirWritable(const wxString& dir);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -620,7 +620,7 @@ public:
|
||||
permissions on it.
|
||||
*/
|
||||
bool IsFileExecutable();
|
||||
static bool IsFileExecutable(const wxString& file);
|
||||
static bool IsFileExecutable(const wxString& file);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -629,7 +629,7 @@ public:
|
||||
permissions on it.
|
||||
*/
|
||||
bool IsFileReadable();
|
||||
static bool IsFileReadable(const wxString& file);
|
||||
static bool IsFileReadable(const wxString& file);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -638,7 +638,7 @@ public:
|
||||
permissions on it.
|
||||
*/
|
||||
bool IsFileWritable();
|
||||
static bool IsFileWritable(const wxString& file);
|
||||
static bool IsFileWritable(const wxString& file);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -664,16 +664,16 @@ public:
|
||||
On Mac OS, gets the common type and creator for the given extension.
|
||||
*/
|
||||
static bool MacFindDefaultTypeAndCreator(const wxString& ext,
|
||||
wxUint32* type,
|
||||
wxUint32* creator);
|
||||
wxUint32* type,
|
||||
wxUint32* creator);
|
||||
|
||||
/**
|
||||
On Mac OS, registers application defined extensions and their default type and
|
||||
creator.
|
||||
*/
|
||||
static void MacRegisterDefaultTypeAndCreator(const wxString& ext,
|
||||
wxUint32 type,
|
||||
wxUint32 creator);
|
||||
wxUint32 type,
|
||||
wxUint32 creator);
|
||||
|
||||
/**
|
||||
On Mac OS, looks up the appropriate type and creator from the registration and
|
||||
@@ -732,8 +732,8 @@ public:
|
||||
otherwise.
|
||||
*/
|
||||
bool Mkdir(int perm = 0777, int flags = 0);
|
||||
static bool Mkdir(const wxString& dir, int perm = 0777,
|
||||
int flags = 0);
|
||||
static bool Mkdir(const wxString& dir, int perm = 0777,
|
||||
int flags = 0);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -845,7 +845,7 @@ public:
|
||||
Deletes the specified directory from the file system.
|
||||
*/
|
||||
bool Rmdir();
|
||||
static bool Rmdir(const wxString& dir);
|
||||
static bool Rmdir(const wxString& dir);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -859,7 +859,7 @@ public:
|
||||
Changes the current working directory.
|
||||
*/
|
||||
bool SetCwd();
|
||||
static bool SetCwd(const wxString& cwd);
|
||||
static bool SetCwd(const wxString& cwd);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -930,17 +930,17 @@ public:
|
||||
wxString* ext,
|
||||
bool hasExt = @NULL,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
static void SplitPath(const wxString& fullpath,
|
||||
wxString* volume,
|
||||
wxString* path,
|
||||
wxString* name,
|
||||
wxString* ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
static void SplitPath(const wxString& fullpath,
|
||||
wxString* path,
|
||||
wxString* name,
|
||||
wxString* ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
static void SplitPath(const wxString& fullpath,
|
||||
wxString* volume,
|
||||
wxString* path,
|
||||
wxString* name,
|
||||
wxString* ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
static void SplitPath(const wxString& fullpath,
|
||||
wxString* path,
|
||||
wxString* name,
|
||||
wxString* ext,
|
||||
wxPathFormat format = wxPATH_NATIVE);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -965,7 +965,7 @@ public:
|
||||
is interpreted as a path in the native filename format.
|
||||
*/
|
||||
bool operator operator!=(const wxFileName& filename);
|
||||
bool operator operator!=(const wxString& filename);
|
||||
bool operator operator!=(const wxString& filename);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -973,7 +973,7 @@ public:
|
||||
Assigns the new value to this filename object.
|
||||
*/
|
||||
wxFileName& operator operator=(const wxFileName& filename);
|
||||
wxFileName& operator operator=(const wxString& filename);
|
||||
wxFileName& operator operator=(const wxString& filename);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -982,6 +982,6 @@ public:
|
||||
interpreted as a path in the native filename format.
|
||||
*/
|
||||
bool operator operator==(const wxFileName& filename);
|
||||
bool operator operator==(const wxString& filename);
|
||||
bool operator operator==(const wxString& filename);
|
||||
//@}
|
||||
};
|
||||
|
@@ -171,17 +171,17 @@ public:
|
||||
are used.
|
||||
*/
|
||||
wxFont();
|
||||
wxFont(const wxFont& font);
|
||||
wxFont(int pointSize, wxFontFamily family, int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
wxFont(const wxSize& pixelSize, wxFontFamily family,
|
||||
int style, wxFontWeight weight,
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
wxFont(const wxFont& font);
|
||||
wxFont(int pointSize, wxFontFamily family, int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
wxFont(const wxSize& pixelSize, wxFontFamily family,
|
||||
int style, wxFontWeight weight,
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -299,22 +299,22 @@ public:
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont * New(int pointSize, wxFontFamily family,
|
||||
int flags = wxFONTFLAG_DEFAULT,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont * New(const wxSize& pixelSize,
|
||||
wxFontFamily family,
|
||||
int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont * New(const wxSize& pixelSize,
|
||||
wxFontFamily family,
|
||||
int flags = wxFONTFLAG_DEFAULT,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont * New(int pointSize, wxFontFamily family,
|
||||
int flags = wxFONTFLAG_DEFAULT,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont * New(const wxSize& pixelSize,
|
||||
wxFontFamily family,
|
||||
int style,
|
||||
wxFontWeight weight,
|
||||
const bool underline = @false,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
static wxFont * New(const wxSize& pixelSize,
|
||||
wxFontFamily family,
|
||||
int flags = wxFONTFLAG_DEFAULT,
|
||||
const wxString& faceName = "",
|
||||
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -30,8 +30,8 @@ public:
|
||||
shown.
|
||||
*/
|
||||
wxFontDialog();
|
||||
wxFontDialog(wxWindow* parent);
|
||||
wxFontDialog(wxWindow* parent, const wxFontData& data);
|
||||
wxFontDialog(wxWindow* parent);
|
||||
wxFontDialog(wxWindow* parent, const wxFontData& data);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
occurred.
|
||||
*/
|
||||
bool Create(wxWindow* parent);
|
||||
bool Create(wxWindow* parent, const wxFontData& data);
|
||||
bool Create(wxWindow* parent, const wxFontData& data);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
dialog.
|
||||
*/
|
||||
const wxFontData GetFontData();
|
||||
wxFontData GetFontData();
|
||||
wxFontData GetFontData();
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -93,10 +93,10 @@ public:
|
||||
wxNativeEncodingInfo* info,
|
||||
const wxString& facename = wxEmptyString,
|
||||
bool interactive = @true);
|
||||
bool GetAltForEncoding(wxFontEncoding encoding,
|
||||
wxFontEncoding* alt_encoding,
|
||||
const wxString& facename = wxEmptyString,
|
||||
bool interactive = @true);
|
||||
bool GetAltForEncoding(wxFontEncoding encoding,
|
||||
wxFontEncoding* alt_encoding,
|
||||
const wxString& facename = wxEmptyString,
|
||||
bool interactive = @true);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -126,12 +126,12 @@ public:
|
||||
@sa Create()
|
||||
*/
|
||||
wxFrame();
|
||||
wxFrame(wxWindow* parent, wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = "frame");
|
||||
wxFrame(wxWindow* parent, wxWindowID id,
|
||||
const wxString& title,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE,
|
||||
const wxString& name = "frame");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -88,9 +88,9 @@ public:
|
||||
*/
|
||||
static void AddFile(const wxString& filename, wxImage& image,
|
||||
long type);
|
||||
static void AddFile(const wxString& filename,
|
||||
const wxBitmap& bitmap,
|
||||
long type);
|
||||
static void AddFile(const wxString& filename,
|
||||
const wxBitmap& bitmap,
|
||||
long type);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -106,10 +106,10 @@ public:
|
||||
static void AddFileWithMimeType(const wxString& filename,
|
||||
const wxString& textdata,
|
||||
const wxString& mimetype);
|
||||
static void AddFileWithMimeType(const wxString& filename,
|
||||
const void* binarydata,
|
||||
size_t size,
|
||||
const wxString& mimetype);
|
||||
static void AddFileWithMimeType(const wxString& filename,
|
||||
const void* binarydata,
|
||||
size_t size,
|
||||
const wxString& mimetype);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -75,12 +75,12 @@ public:
|
||||
@sa Create()
|
||||
*/
|
||||
wxGauge();
|
||||
wxGauge(wxWindow* parent, wxWindowID id, int range,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxGA_HORIZONTAL,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "gauge");
|
||||
wxGauge(wxWindow* parent, wxWindowID id, int range,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxGA_HORIZONTAL,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "gauge");
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -25,7 +25,7 @@ public:
|
||||
The default is (0,0).
|
||||
*/
|
||||
wxGBPosition();
|
||||
wxGBPosition(int row, int col);
|
||||
wxGBPosition(int row, int col);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -93,18 +93,18 @@ public:
|
||||
int flag = 0,
|
||||
int border = 0,
|
||||
wxObject* userData = @NULL);
|
||||
wxSizerItem* Add(wxSizer* sizer, const wxGBPosition& pos,
|
||||
const wxGBSpan& span = wxDefaultSpan,
|
||||
int flag = 0,
|
||||
int border = 0,
|
||||
wxObject* userData = @NULL);
|
||||
wxSizerItem* Add(int width, int height,
|
||||
const wxGBPosition& pos,
|
||||
const wxGBSpan& span = wxDefaultSpan,
|
||||
int flag = 0,
|
||||
int border = 0,
|
||||
wxObject* userData = @NULL);
|
||||
wxSizerItem* Add(wxGBSizerItem* item);
|
||||
wxSizerItem* Add(wxSizer* sizer, const wxGBPosition& pos,
|
||||
const wxGBSpan& span = wxDefaultSpan,
|
||||
int flag = 0,
|
||||
int border = 0,
|
||||
wxObject* userData = @NULL);
|
||||
wxSizerItem* Add(int width, int height,
|
||||
const wxGBPosition& pos,
|
||||
const wxGBSpan& span = wxDefaultSpan,
|
||||
int flag = 0,
|
||||
int border = 0,
|
||||
wxObject* userData = @NULL);
|
||||
wxSizerItem* Add(wxGBSizerItem* item);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -122,9 +122,9 @@ public:
|
||||
*/
|
||||
bool CheckForIntersection(wxGBSizerItem* item,
|
||||
wxGBSizerItem* excludeItem = @NULL);
|
||||
bool CheckForIntersection(const wxGBPosition& pos,
|
||||
const wxGBSpan& span,
|
||||
wxGBSizerItem* excludeItem = @NULL);
|
||||
bool CheckForIntersection(const wxGBPosition& pos,
|
||||
const wxGBSpan& span,
|
||||
wxGBSizerItem* excludeItem = @NULL);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -133,7 +133,7 @@ public:
|
||||
not found. (non-recursive)
|
||||
*/
|
||||
wxGBSizerItem* FindItem(wxWindow* window);
|
||||
wxGBSizerItem* FindItem(wxSizer* sizer);
|
||||
wxGBSizerItem* FindItem(wxSizer* sizer);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -172,8 +172,8 @@ public:
|
||||
Get the grid position of the specified item.
|
||||
*/
|
||||
wxGBPosition GetItemPosition(wxWindow* window);
|
||||
wxGBPosition GetItemPosition(wxSizer* sizer);
|
||||
wxGBPosition GetItemPosition(size_t index);
|
||||
wxGBPosition GetItemPosition(wxSizer* sizer);
|
||||
wxGBPosition GetItemPosition(size_t index);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -181,8 +181,8 @@ public:
|
||||
Get the row/col spanning of the specified item
|
||||
*/
|
||||
wxGBSpan GetItemSpan(wxWindow* window);
|
||||
wxGBSpan GetItemSpan(wxSizer* sizer);
|
||||
wxGBSpan GetItemSpan(size_t index);
|
||||
wxGBSpan GetItemSpan(wxSizer* sizer);
|
||||
wxGBSpan GetItemSpan(size_t index);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -203,8 +203,8 @@ public:
|
||||
@false is returned.
|
||||
*/
|
||||
bool SetItemPosition(wxWindow* window, const wxGBPosition& pos);
|
||||
bool SetItemPosition(wxSizer* sizer, const wxGBPosition& pos);
|
||||
bool SetItemPosition(size_t index, const wxGBPosition& pos);
|
||||
bool SetItemPosition(wxSizer* sizer, const wxGBPosition& pos);
|
||||
bool SetItemPosition(size_t index, const wxGBPosition& pos);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -214,8 +214,8 @@ public:
|
||||
then @false is returned.
|
||||
*/
|
||||
bool SetItemSpan(wxWindow* window, const wxGBSpan& span);
|
||||
bool SetItemSpan(wxSizer* sizer, const wxGBSpan& span);
|
||||
bool SetItemSpan(size_t index, const wxGBSpan& span);
|
||||
bool SetItemSpan(wxSizer* sizer, const wxGBSpan& span);
|
||||
bool SetItemSpan(size_t index, const wxGBSpan& span);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -246,14 +246,14 @@ public:
|
||||
wxGBSizerItem(int width, int height, const wxGBPosition& pos,
|
||||
const wxGBSpan& span, int flag,
|
||||
int border, wxObject* userData);
|
||||
wxGBSizerItem(wxWindow* window, const wxGBPosition& pos,
|
||||
const wxGBSpan& span,
|
||||
int flag, int border,
|
||||
wxObject* userData);
|
||||
wxGBSizerItem(wxSizer* sizer, const wxGBPosition& pos,
|
||||
const wxGBSpan& span,
|
||||
int flag, int border,
|
||||
wxObject* userData);
|
||||
wxGBSizerItem(wxWindow* window, const wxGBPosition& pos,
|
||||
const wxGBSpan& span,
|
||||
int flag, int border,
|
||||
wxObject* userData);
|
||||
wxGBSizerItem(wxSizer* sizer, const wxGBPosition& pos,
|
||||
const wxGBSpan& span,
|
||||
int flag, int border,
|
||||
wxObject* userData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -266,7 +266,7 @@ public:
|
||||
Get the grid position of the item.
|
||||
*/
|
||||
wxGBPosition GetPos();
|
||||
void GetPos(int& row, int& col);
|
||||
void GetPos(int& row, int& col);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -274,7 +274,7 @@ public:
|
||||
Get the row and column spanning of the item.
|
||||
*/
|
||||
wxGBSpan GetSpan();
|
||||
void GetSpan(int& rowspan, int& colspan);
|
||||
void GetSpan(int& rowspan, int& colspan);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -282,8 +282,8 @@ public:
|
||||
Returns @true if the given pos/span would intersect with this item.
|
||||
*/
|
||||
bool Intersects(const wxGBSizerItem& other);
|
||||
bool Intersects(const wxGBPosition& pos,
|
||||
const wxGBSpan& span);
|
||||
bool Intersects(const wxGBPosition& pos,
|
||||
const wxGBSpan& span);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -324,7 +324,7 @@ public:
|
||||
each direction.
|
||||
*/
|
||||
wxGBSpan();
|
||||
wxGBSpan(int rowspan, int colspan);
|
||||
wxGBSpan(int rowspan, int colspan);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -34,7 +34,7 @@ public:
|
||||
Members of the @b wxRealPoint object.
|
||||
*/
|
||||
wxRealPoint();
|
||||
wxRealPoint(double x, double y);
|
||||
wxRealPoint(double x, double y);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -59,10 +59,10 @@ public:
|
||||
Creates a wxRect object from size values at the origin.
|
||||
*/
|
||||
wxRect();
|
||||
wxRect(int x, int y, int width, int height);
|
||||
wxRect(const wxPoint& topLeft, const wxPoint& bottomRight);
|
||||
wxRect(const wxPoint& pos, const wxSize& size);
|
||||
wxRect(const wxSize& size);
|
||||
wxRect(int x, int y, int width, int height);
|
||||
wxRect(const wxPoint& topLeft, const wxPoint& bottomRight);
|
||||
wxRect(const wxPoint& pos, const wxSize& size);
|
||||
wxRect(const wxSize& size);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
the other component of its position remains unchanged.
|
||||
*/
|
||||
wxRect CentreIn(const wxRect& r, int dir = wxBOTH);
|
||||
wxRect CenterIn(const wxRect& r, int dir = wxBOTH);
|
||||
wxRect CenterIn(const wxRect& r, int dir = wxBOTH);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -83,8 +83,8 @@ public:
|
||||
(or touches its boundary) and @false otherwise.
|
||||
*/
|
||||
bool Contains(int x, int y);
|
||||
bool Contains(const wxPoint& pt);
|
||||
bool Contains(const wxRect& rect);
|
||||
bool Contains(const wxPoint& pt);
|
||||
bool Contains(const wxRect& rect);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -98,9 +98,9 @@ public:
|
||||
@sa Inflate()
|
||||
*/
|
||||
void Deflate(wxCoord dx, wxCoord dy);
|
||||
void Deflate(const wxSize& diff);
|
||||
void Deflate(wxCoord diff);
|
||||
wxRect Deflate(wxCoord dx, wxCoord dy);
|
||||
void Deflate(const wxSize& diff);
|
||||
void Deflate(wxCoord diff);
|
||||
wxRect Deflate(wxCoord dx, wxCoord dy);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -213,9 +213,9 @@ public:
|
||||
@sa Deflate()
|
||||
*/
|
||||
void Inflate(wxCoord dx, wxCoord dy);
|
||||
void Inflate(const wxSize& diff);
|
||||
void Inflate(wxCoord diff);
|
||||
wxRect Inflate(wxCoord dx, wxCoord dy);
|
||||
void Inflate(const wxSize& diff);
|
||||
void Inflate(wxCoord diff);
|
||||
wxRect Inflate(wxCoord dx, wxCoord dy);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -225,7 +225,7 @@ public:
|
||||
other one modifies this rectangle in place.
|
||||
*/
|
||||
wxRect Intersect(const wxRect& rect);
|
||||
wxRect Intersect(const wxRect& rect);
|
||||
wxRect Intersect(const wxRect& rect);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -247,7 +247,7 @@ public:
|
||||
bottom, otherwise it is moved to the left or top respectively.
|
||||
*/
|
||||
void Offset(wxCoord dx, wxCoord dy);
|
||||
void Offset(const wxPoint& pt);
|
||||
void Offset(const wxPoint& pt);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -284,7 +284,7 @@ public:
|
||||
other one modifies this rectangle in place.
|
||||
*/
|
||||
wxRect Union(const wxRect& rect);
|
||||
wxRect Union(const wxRect& rect);
|
||||
wxRect Union(const wxRect& rect);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -299,11 +299,11 @@ public:
|
||||
Returns the intersection of two rectangles (which may be empty).
|
||||
*/
|
||||
bool operator !=(const wxRect& r1, const wxRect& r2);
|
||||
wxRect operator +(const wxRect& r1, const wxRect& r2);
|
||||
wxRect operator +=(const wxRect& r);
|
||||
See also wxRect operator *(const wxRect& r1,
|
||||
const wxRect& r2);
|
||||
wxRect operator *=(const wxRect& r);
|
||||
wxRect operator +(const wxRect& r1, const wxRect& r2);
|
||||
wxRect operator +=(const wxRect& r);
|
||||
See also wxRect operator *(const wxRect& r1,
|
||||
const wxRect& r2);
|
||||
wxRect operator *=(const wxRect& r);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -398,7 +398,7 @@ public:
|
||||
Create a point.
|
||||
*/
|
||||
wxPoint();
|
||||
wxPoint(int x, int y);
|
||||
wxPoint(int x, int y);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -407,18 +407,18 @@ public:
|
||||
wxSize object.
|
||||
*/
|
||||
void operator =(const wxPoint& pt);
|
||||
bool operator ==(const wxPoint& p1, const wxPoint& p2);
|
||||
bool operator !=(const wxPoint& p1, const wxPoint& p2);
|
||||
wxPoint operator +(const wxPoint& p1, const wxPoint& p2);
|
||||
wxPoint operator -(const wxPoint& p1, const wxPoint& p2);
|
||||
wxPoint operator +=(const wxPoint& pt);
|
||||
wxPoint operator -=(const wxPoint& pt);
|
||||
wxPoint operator +(const wxPoint& pt, const wxSize& sz);
|
||||
wxPoint operator -(const wxPoint& pt, const wxSize& sz);
|
||||
wxPoint operator +(const wxSize& sz, const wxPoint& pt);
|
||||
wxPoint operator -(const wxSize& sz, const wxPoint& pt);
|
||||
wxPoint operator +=(const wxSize& sz);
|
||||
wxPoint operator -=(const wxSize& sz);
|
||||
bool operator ==(const wxPoint& p1, const wxPoint& p2);
|
||||
bool operator !=(const wxPoint& p1, const wxPoint& p2);
|
||||
wxPoint operator +(const wxPoint& p1, const wxPoint& p2);
|
||||
wxPoint operator -(const wxPoint& p1, const wxPoint& p2);
|
||||
wxPoint operator +=(const wxPoint& pt);
|
||||
wxPoint operator -=(const wxPoint& pt);
|
||||
wxPoint operator +(const wxPoint& pt, const wxSize& sz);
|
||||
wxPoint operator -(const wxPoint& pt, const wxSize& sz);
|
||||
wxPoint operator +(const wxSize& sz, const wxPoint& pt);
|
||||
wxPoint operator -(const wxSize& sz, const wxPoint& pt);
|
||||
wxPoint operator +=(const wxSize& sz);
|
||||
wxPoint operator -=(const wxSize& sz);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -474,7 +474,7 @@ public:
|
||||
*/
|
||||
void AddColour(const wxString& colourName,
|
||||
const wxColour& colour);
|
||||
void AddColour(const wxString& colourName, wxColour* colour);
|
||||
void AddColour(const wxString& colourName, wxColour* colour);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -564,7 +564,7 @@ public:
|
||||
Creates a size object.
|
||||
*/
|
||||
wxSize();
|
||||
wxSize(int width, int height);
|
||||
wxSize(int width, int height);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -578,8 +578,8 @@ public:
|
||||
@sa IncBy()
|
||||
*/
|
||||
void DecBy(const wxSize& size);
|
||||
void DecBy(int dx, int dy);
|
||||
void DecBy(int d);
|
||||
void DecBy(int dx, int dy);
|
||||
void DecBy(int d);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -611,8 +611,8 @@ public:
|
||||
@sa DecBy()
|
||||
*/
|
||||
void IncBy(const wxSize& size);
|
||||
void IncBy(int dx, int dy);
|
||||
void IncBy(int d);
|
||||
void IncBy(int dx, int dy);
|
||||
void IncBy(int d);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -639,17 +639,17 @@ public:
|
||||
integer.
|
||||
*/
|
||||
void operator =(const wxSize& sz);
|
||||
bool operator ==(const wxSize& s1, const wxSize& s2);
|
||||
bool operator !=(const wxSize& s1, const wxSize& s2);
|
||||
wxSize operator +(const wxSize& s1, const wxSize& s2);
|
||||
wxSize operator -(const wxSize& s1, const wxSize& s2);
|
||||
wxSize operator +=(const wxSize& sz);
|
||||
wxSize operator -=(const wxSize& sz);
|
||||
wxSize operator /(const wxSize& sz, int factor);
|
||||
wxSize operator *(const wxSize& sz, int factor);
|
||||
wxSize operator *(int factor, const wxSize& sz);
|
||||
wxSize operator /=(int factor);
|
||||
wxSize operator *=(int factor);
|
||||
bool operator ==(const wxSize& s1, const wxSize& s2);
|
||||
bool operator !=(const wxSize& s1, const wxSize& s2);
|
||||
wxSize operator +(const wxSize& s1, const wxSize& s2);
|
||||
wxSize operator -(const wxSize& s1, const wxSize& s2);
|
||||
wxSize operator +=(const wxSize& sz);
|
||||
wxSize operator -=(const wxSize& sz);
|
||||
wxSize operator /(const wxSize& sz, int factor);
|
||||
wxSize operator *(const wxSize& sz, int factor);
|
||||
wxSize operator *(int factor, const wxSize& sz);
|
||||
wxSize operator /=(int factor);
|
||||
wxSize operator *=(int factor);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -754,8 +754,8 @@ public:
|
||||
*/
|
||||
wxPen* FindOrCreatePen(const wxColour& colour, int width,
|
||||
int style);
|
||||
wxPen* FindOrCreatePen(const wxString& colourName, int width,
|
||||
int style);
|
||||
wxPen* FindOrCreatePen(const wxString& colourName, int width,
|
||||
int style);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -773,7 +773,7 @@ public:
|
||||
*/
|
||||
void wxClientDisplayRect(int * x, int * y, int * width,
|
||||
int * height);
|
||||
wxRect wxGetClientDisplayRect();
|
||||
wxRect wxGetClientDisplayRect();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -781,7 +781,7 @@ void wxClientDisplayRect(int * x, int * y, int * width,
|
||||
Returns the display size in pixels.
|
||||
*/
|
||||
void wxDisplaySize(int * width, int * height);
|
||||
wxSize wxGetDisplaySize();
|
||||
wxSize wxGetDisplaySize();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -789,7 +789,7 @@ void wxDisplaySize(int * width, int * height);
|
||||
Returns the display size in millimeters.
|
||||
*/
|
||||
void wxDisplaySizeMM(int * width, int * height);
|
||||
wxSize wxGetDisplaySizeMM();
|
||||
wxSize wxGetDisplaySizeMM();
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -28,10 +28,10 @@ public:
|
||||
void AddArc(wxDouble x, wxDouble y, wxDouble r,
|
||||
wxDouble startAngle,
|
||||
wxDouble endAngle, bool clockwise);
|
||||
void AddArc(const wxPoint2DDouble& c, wxDouble r,
|
||||
wxDouble startAngle,
|
||||
wxDouble endAngle,
|
||||
bool clockwise);
|
||||
void AddArc(const wxPoint2DDouble& c, wxDouble r,
|
||||
wxDouble startAngle,
|
||||
wxDouble endAngle,
|
||||
bool clockwise);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -55,9 +55,9 @@ public:
|
||||
wxDouble cy2,
|
||||
wxDouble x,
|
||||
wxDouble y);
|
||||
void AddCurveToPoint(const wxPoint2DDouble& c1,
|
||||
const wxPoint2DDouble& c2,
|
||||
const wxPoint2DDouble& e);
|
||||
void AddCurveToPoint(const wxPoint2DDouble& c1,
|
||||
const wxPoint2DDouble& c2,
|
||||
const wxPoint2DDouble& e);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
*/
|
||||
void AddLineToPoint(wxDouble x, wxDouble y);
|
||||
void AddLineToPoint(const wxPoint2DDouble& p);
|
||||
void AddLineToPoint(const wxPoint2DDouble& p);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -108,8 +108,8 @@ public:
|
||||
*/
|
||||
bool Contains(const wxPoint2DDouble& c,
|
||||
int fillStyle = wxODDEVEN_RULE);
|
||||
bool Contains(wxDouble x, wxDouble y,
|
||||
int fillStyle = wxODDEVEN_RULE);
|
||||
bool Contains(wxDouble x, wxDouble y,
|
||||
int fillStyle = wxODDEVEN_RULE);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -117,8 +117,8 @@ public:
|
||||
Gets the bounding box enclosing all points (possibly including control points).
|
||||
*/
|
||||
wxRect2DDouble GetBox();
|
||||
void GetBox(wxDouble* x, wxDouble* y, wxDouble* w,
|
||||
wxDouble* h);
|
||||
void GetBox(wxDouble* x, wxDouble* y, wxDouble* w,
|
||||
wxDouble* h);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -126,7 +126,7 @@ public:
|
||||
Gets the last point of the current path, (0,0) if not yet set.
|
||||
*/
|
||||
void GetCurrentPoint(wxDouble* x, wxDouble* y);
|
||||
wxPoint2DDouble GetCurrentPoint();
|
||||
wxPoint2DDouble GetCurrentPoint();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -140,7 +140,7 @@ public:
|
||||
Begins a new subpath at (x,y)
|
||||
*/
|
||||
void MoveToPoint(wxDouble x, wxDouble y);
|
||||
void MoveToPoint(const wxPoint2DDouble& p);
|
||||
void MoveToPoint(const wxPoint2DDouble& p);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -209,7 +209,7 @@ public:
|
||||
Clips drawings to the rectangle.
|
||||
*/
|
||||
void Clip(const wxRegion& region);
|
||||
void Clip(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
||||
void Clip(wxDouble x, wxDouble y, wxDouble w, wxDouble h);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -224,7 +224,7 @@ public:
|
||||
@sa wxGraphicsRenderer:: CreateContext
|
||||
*/
|
||||
wxGraphicsContext* Create(const wxWindowDC& dc);
|
||||
wxGraphicsContext* Create(wxWindow* window);
|
||||
wxGraphicsContext* Create(wxWindow* window);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -259,11 +259,11 @@ public:
|
||||
color c1 to (x2,y2) with color c2
|
||||
*/
|
||||
wxGraphicsBrush CreateLinearGradientBrush(wxDouble x1,
|
||||
wxDouble y1,
|
||||
wxDouble x2,
|
||||
wxDouble y2,
|
||||
const wxColouramp;c1,
|
||||
const wxColouramp;c2);
|
||||
wxDouble y1,
|
||||
wxDouble x2,
|
||||
wxDouble y2,
|
||||
const wxColouramp;c1,
|
||||
const wxColouramp;c2);
|
||||
|
||||
/**
|
||||
Creates a native affine transformation matrix from the passed in values. The
|
||||
@@ -290,12 +290,12 @@ public:
|
||||
color oColour and ends on a circle around (xc,yc) with radius r and color cColour
|
||||
*/
|
||||
wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo,
|
||||
wxDouble yo,
|
||||
wxDouble xc,
|
||||
wxDouble yc,
|
||||
wxDouble radius,
|
||||
const wxColour& oColor,
|
||||
const wxColour& cColor);
|
||||
wxDouble yo,
|
||||
wxDouble xc,
|
||||
wxDouble yc,
|
||||
wxDouble radius,
|
||||
const wxColour& oColor,
|
||||
const wxColour& cColor);
|
||||
|
||||
/**
|
||||
Draws the bitmap. In case of a mono bitmap, this is treated as a mask and the
|
||||
@@ -346,7 +346,7 @@ public:
|
||||
*/
|
||||
void DrawText(const wxString& str, wxDouble x, wxDouble y,
|
||||
wxDouble angle);
|
||||
void DrawText(const wxString& str, wxDouble x, wxDouble y);
|
||||
void DrawText(const wxString& str, wxDouble x, wxDouble y);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -406,7 +406,7 @@ public:
|
||||
Sets the brush for filling paths.
|
||||
*/
|
||||
void SetBrush(const wxBrush& brush);
|
||||
void SetBrush(const wxGraphicsBrush& brush);
|
||||
void SetBrush(const wxGraphicsBrush& brush);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -414,7 +414,7 @@ public:
|
||||
Sets the font for drawing text.
|
||||
*/
|
||||
void SetFont(const wxFont& font, const wxColour& colour);
|
||||
void SetFont(const wxGraphicsFont& font);
|
||||
void SetFont(const wxGraphicsFont& font);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -422,7 +422,7 @@ public:
|
||||
Sets the pen used for stroking.
|
||||
*/
|
||||
void SetPen(const wxGraphicsPen& pen);
|
||||
void SetPen(const wxPen& pen);
|
||||
void SetPen(const wxPen& pen);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -443,7 +443,7 @@ public:
|
||||
*/
|
||||
void StrokeLines(size_t n, const wxPoint2DDouble* beginPoints,
|
||||
const wxPoint2DDouble* endPoints);
|
||||
void StrokeLines(size_t n, const wxPoint2DDouble* points);
|
||||
void StrokeLines(size_t n, const wxPoint2DDouble* points);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -481,7 +481,7 @@ public:
|
||||
Creates a wxGraphicsContext from a wxWindow.
|
||||
*/
|
||||
wxGraphicsContext * CreateContext(const wxWindowDC& dc);
|
||||
wxGraphicsContext * CreateContext(wxWindow* window);
|
||||
wxGraphicsContext * CreateContext(wxWindow* window);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -506,11 +506,11 @@ public:
|
||||
color c1 to (x2,y2) with color c2
|
||||
*/
|
||||
wxGraphicsBrush CreateLinearGradientBrush(wxDouble x1,
|
||||
wxDouble y1,
|
||||
wxDouble x2,
|
||||
wxDouble y2,
|
||||
const wxColouramp;c1,
|
||||
const wxColouramp;c2);
|
||||
wxDouble y1,
|
||||
wxDouble x2,
|
||||
wxDouble y2,
|
||||
const wxColouramp;c1,
|
||||
const wxColouramp;c2);
|
||||
|
||||
/**
|
||||
Creates a native affine transformation matrix from the passed in values. The
|
||||
@@ -537,12 +537,12 @@ public:
|
||||
color oColour and ends on a circle around (xc,yc) with radius r and color cColour
|
||||
*/
|
||||
wxGraphicsBrush CreateRadialGradientBrush(wxDouble xo,
|
||||
wxDouble yo,
|
||||
wxDouble xc,
|
||||
wxDouble yc,
|
||||
wxDouble radius,
|
||||
const wxColour& oColour,
|
||||
const wxColour& cColour);
|
||||
wxDouble yo,
|
||||
wxDouble xc,
|
||||
wxDouble yc,
|
||||
wxDouble radius,
|
||||
const wxColour& oColour,
|
||||
const wxColour& cColour);
|
||||
|
||||
/**
|
||||
Returns the default renderer on this platform. On OS X this is the Core
|
||||
@@ -615,15 +615,15 @@ public:
|
||||
|
||||
*/
|
||||
void Concat(const wxGraphicsMatrix* t);
|
||||
void Concat(const wxGraphicsMatrix& t);
|
||||
void Concat(const wxGraphicsMatrix& t);
|
||||
//@}
|
||||
|
||||
/**
|
||||
Returns the component values of the matrix via the argument pointers.
|
||||
*/
|
||||
#define void Get(wxDouble* a=@NULL, wxDouble* b=@NULL, wxDouble* c=@NULL,
|
||||
wxDouble* d=@NULL, wxDouble* tx=@NULL,
|
||||
wxDouble* ty=@NULL) /* implementation is private */
|
||||
wxDouble* d=@NULL, wxDouble* tx=@NULL,
|
||||
wxDouble* ty=@NULL) /* implementation is private */
|
||||
|
||||
/**
|
||||
Returns the native representation of the matrix. For CoreGraphics this is a
|
||||
@@ -661,8 +661,8 @@ public:
|
||||
matrix)
|
||||
*/
|
||||
#define void Set(wxDouble a = 1.0, wxDouble b = 0.0, wxDouble c = 0.0,
|
||||
wxDouble d = 1.0, wxDouble tx = 0.0,
|
||||
wxDouble ty = 0.0) /* implementation is private */
|
||||
wxDouble d = 1.0, wxDouble tx = 0.0,
|
||||
wxDouble ty = 0.0) /* implementation is private */
|
||||
|
||||
/**
|
||||
Applies this matrix to a distance (ie. performs all transforms except
|
||||
|
114
interface/grid.h
114
interface/grid.h
@@ -467,8 +467,8 @@ public:
|
||||
wxGridCellChoiceEditor(size_t count = 0,
|
||||
const wxString choices[] = @NULL,
|
||||
bool allowOthers = @false);
|
||||
wxGridCellChoiceEditor(const wxArrayString& choices,
|
||||
bool allowOthers = @false);
|
||||
wxGridCellChoiceEditor(const wxArrayString& choices,
|
||||
bool allowOthers = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -494,11 +494,11 @@ public:
|
||||
|
||||
*/
|
||||
wxGridEditorCreatedEvent();
|
||||
wxGridEditorCreatedEvent(int id, wxEventType type,
|
||||
wxObject* obj,
|
||||
int row,
|
||||
int col,
|
||||
wxControl* ctrl);
|
||||
wxGridEditorCreatedEvent(int id, wxEventType type,
|
||||
wxObject* obj,
|
||||
int row,
|
||||
int col,
|
||||
wxControl* ctrl);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -549,15 +549,15 @@ public:
|
||||
|
||||
*/
|
||||
wxGridRangeSelectEvent();
|
||||
wxGridRangeSelectEvent(int id, wxEventType type,
|
||||
wxObject* obj,
|
||||
const wxGridCellCoords& topLeft,
|
||||
const wxGridCellCoords& bottomRight,
|
||||
bool sel = @true,
|
||||
bool control = @false,
|
||||
bool shift = @false,
|
||||
bool alt = @false,
|
||||
bool meta = @false);
|
||||
wxGridRangeSelectEvent(int id, wxEventType type,
|
||||
wxObject* obj,
|
||||
const wxGridCellCoords& topLeft,
|
||||
const wxGridCellCoords& bottomRight,
|
||||
bool sel = @true,
|
||||
bool control = @false,
|
||||
bool shift = @false,
|
||||
bool alt = @false,
|
||||
bool meta = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -721,14 +721,14 @@ public:
|
||||
|
||||
*/
|
||||
wxGridSizeEvent();
|
||||
wxGridSizeEvent(int id, wxEventType type, wxObject* obj,
|
||||
int rowOrCol = -1,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool control = @false,
|
||||
bool shift = @false,
|
||||
bool alt = @false,
|
||||
bool meta = @false);
|
||||
wxGridSizeEvent(int id, wxEventType type, wxObject* obj,
|
||||
int rowOrCol = -1,
|
||||
int x = -1,
|
||||
int y = -1,
|
||||
bool control = @false,
|
||||
bool shift = @false,
|
||||
bool alt = @false,
|
||||
bool meta = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -805,10 +805,10 @@ public:
|
||||
Constructor specifying some of the often used attributes.
|
||||
*/
|
||||
wxGridCellAttr();
|
||||
wxGridCellAttr(const wxColour& colText,
|
||||
const wxColour& colBack,
|
||||
const wxFont& font,
|
||||
int hAlign, int vAlign);
|
||||
wxGridCellAttr(const wxColour& colText,
|
||||
const wxColour& colBack,
|
||||
const wxFont& font,
|
||||
int hAlign, int vAlign);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -978,14 +978,14 @@ public:
|
||||
|
||||
*/
|
||||
wxGridEvent();
|
||||
wxGridEvent(int id, wxEventType type, wxObject* obj,
|
||||
int row = -1, int col = -1,
|
||||
int x = -1, int y = -1,
|
||||
bool sel = @true,
|
||||
bool control = @false,
|
||||
bool shift = @false,
|
||||
bool alt = @false,
|
||||
bool meta = @false);
|
||||
wxGridEvent(int id, wxEventType type, wxObject* obj,
|
||||
int row = -1, int col = -1,
|
||||
int x = -1, int y = -1,
|
||||
bool sel = @true,
|
||||
bool control = @false,
|
||||
bool shift = @false,
|
||||
bool alt = @false,
|
||||
bool meta = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1126,11 +1126,11 @@ public:
|
||||
it.
|
||||
*/
|
||||
wxGrid();
|
||||
wxGrid(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxWANTS_CHARS,
|
||||
const wxString& name = wxPanelNameStr);
|
||||
wxGrid(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxWANTS_CHARS,
|
||||
const wxString& name = wxPanelNameStr);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1332,7 +1332,7 @@ public:
|
||||
coordinates.
|
||||
*/
|
||||
wxRect CellToRect(int row, int col);
|
||||
wxRect CellToRect(const wxGridCellCoords& coords);
|
||||
wxRect CellToRect(const wxGridCellCoords& coords);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1596,7 +1596,7 @@ public:
|
||||
and the @ref overview_gridoverview "wxGrid overview" for more information.
|
||||
*/
|
||||
wxString GetCellValue(int row, int col);
|
||||
wxString GetCellValue(const wxGridCellCoords& coords);
|
||||
wxString GetCellValue(const wxGridCellCoords& coords);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1720,7 +1720,7 @@ public:
|
||||
|
||||
*/
|
||||
wxGridCellEditor* GetDefaultEditorForCell(int row, int col);
|
||||
wxGridCellEditor* GetDefaultEditorForCell(const wxGridCellCoords& c);
|
||||
wxGridCellEditor* GetDefaultEditorForCell(const wxGridCellCoords& c);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -2048,7 +2048,7 @@ public:
|
||||
Is this cell currently selected.
|
||||
*/
|
||||
bool IsInSelection(int row, int col);
|
||||
bool IsInSelection(const wxGridCellCoords& coords);
|
||||
bool IsInSelection(const wxGridCellCoords& coords);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -2069,8 +2069,8 @@ public:
|
||||
visible in the grid window.
|
||||
*/
|
||||
bool IsVisible(int row, int col, bool wholeCellVisible = @true);
|
||||
bool IsVisible(const wxGridCellCoords& coords,
|
||||
bool wholeCellVisible = @true);
|
||||
bool IsVisible(const wxGridCellCoords& coords,
|
||||
bool wholeCellVisible = @true);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -2080,7 +2080,7 @@ public:
|
||||
nothing if the cell is already visible.
|
||||
*/
|
||||
void MakeCellVisible(int row, int col);
|
||||
void MakeCellVisible(const wxGridCellCoords& coords);
|
||||
void MakeCellVisible(const wxGridCellCoords& coords);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -2249,9 +2249,9 @@ public:
|
||||
void SelectBlock(int topRow, int leftCol, int bottomRow,
|
||||
int rightCol,
|
||||
bool addToSelected = @false);
|
||||
void SelectBlock(const wxGridCellCoords& topLeft,
|
||||
const wxGridCellCoords& bottomRight,
|
||||
bool addToSelected = @false);
|
||||
void SelectBlock(const wxGridCellCoords& topLeft,
|
||||
const wxGridCellCoords& bottomRight,
|
||||
bool addToSelected = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -2301,7 +2301,7 @@ public:
|
||||
wxALIGN_BOTTOM.
|
||||
*/
|
||||
void SetCellAlignment(int row, int col, int horiz, int vert);
|
||||
void SetCellAlignment(int align, int row, int col);
|
||||
void SetCellAlignment(int align, int row, int col);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -2341,8 +2341,8 @@ public:
|
||||
Sets the text colour for the grid cell at the specified location.
|
||||
*/
|
||||
void SetCellTextColour(int row, int col, const wxColour& colour);
|
||||
void SetCellTextColour(const wxColour& val, int row, int col);
|
||||
void SetCellTextColour(const wxColour& colour);
|
||||
void SetCellTextColour(const wxColour& val, int row, int col);
|
||||
void SetCellTextColour(const wxColour& colour);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -2365,9 +2365,9 @@ public:
|
||||
and the @ref overview_gridoverview "wxGrid overview" for more information.
|
||||
*/
|
||||
void SetCellValue(int row, int col, const wxString& s);
|
||||
void SetCellValue(const wxGridCellCoords& coords,
|
||||
const wxString& s);
|
||||
void SetCellValue(const wxString& val, int row, int col);
|
||||
void SetCellValue(const wxGridCellCoords& coords,
|
||||
const wxString& s);
|
||||
void SetCellValue(const wxString& val, int row, int col);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -54,7 +54,7 @@ public:
|
||||
Deletes entry in hash table and returns the user's data (if found).
|
||||
*/
|
||||
wxObject * Delete(long key);
|
||||
wxObject * Delete(const wxString& key);
|
||||
wxObject * Delete(const wxString& key);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
has table constructor was used).
|
||||
*/
|
||||
wxObject * Get(long key);
|
||||
wxObject * Get(const char* key);
|
||||
wxObject * Get(const char* key);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -102,6 +102,6 @@ public:
|
||||
table implementation.
|
||||
*/
|
||||
void Put(long key, wxObject * object);
|
||||
void Put(const char* key, wxObject * object);
|
||||
void Put(const char* key, wxObject * object);
|
||||
//@}
|
||||
};
|
||||
|
@@ -26,7 +26,7 @@ public:
|
||||
Copy constructor.
|
||||
*/
|
||||
wxHashMap(size_type size = 10);
|
||||
wxHashMap(const wxHashMap& map);
|
||||
wxHashMap(const wxHashMap& map);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
Please remember that hash maps do not guarantee ordering.
|
||||
*/
|
||||
const_iterator begin();
|
||||
iterator begin();
|
||||
iterator begin();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
Please remember that hash maps do not guarantee ordering.
|
||||
*/
|
||||
const_iterator end();
|
||||
iterator end();
|
||||
iterator end();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -69,8 +69,8 @@ public:
|
||||
the iterator is no longer valid and must not be used.
|
||||
*/
|
||||
size_type erase(const key_type& key);
|
||||
void erase(iterator it);
|
||||
void erase(const_iterator it);
|
||||
void erase(iterator it);
|
||||
void erase(const_iterator it);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
is returned (i.e. hashmap.find( non_existent_key ) == hashmap.end()).
|
||||
*/
|
||||
iterator find(const key_type& key);
|
||||
const_iterator find(const key_type& key);
|
||||
const_iterator find(const key_type& key);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -26,7 +26,7 @@ public:
|
||||
Copy constructor.
|
||||
*/
|
||||
wxHashSet(size_type size = 10);
|
||||
wxHashSet(const wxHashSet& set);
|
||||
wxHashSet(const wxHashSet& set);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
Please remember that hash sets do not guarantee ordering.
|
||||
*/
|
||||
const_iterator begin();
|
||||
iterator begin();
|
||||
iterator begin();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
Please remember that hash sets do not guarantee ordering.
|
||||
*/
|
||||
const_iterator end();
|
||||
iterator end();
|
||||
iterator end();
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -69,8 +69,8 @@ public:
|
||||
the iterator is no longer valid and must not be used.
|
||||
*/
|
||||
size_type erase(const key_type& key);
|
||||
void erase(iterator it);
|
||||
void erase(const_iterator it);
|
||||
void erase(iterator it);
|
||||
void erase(const_iterator it);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
is returned (i.e. hashset.find( non_existent_key ) == hashset.end()).
|
||||
*/
|
||||
iterator find(const key_type& key);
|
||||
const_iterator find(const key_type& key);
|
||||
const_iterator find(const key_type& key);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -141,7 +141,7 @@ public:
|
||||
various help file formats.
|
||||
*/
|
||||
virtual bool DisplaySection(const wxString& section);
|
||||
virtual bool DisplaySection(int sectionNo);
|
||||
virtual bool DisplaySection(int sectionNo);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -191,7 +191,7 @@ public:
|
||||
a suitable file. For WinHelp, the hlp extension is appended.
|
||||
*/
|
||||
virtual bool Initialize(const wxString& file);
|
||||
virtual bool Initialize(const wxString& file, int server);
|
||||
virtual bool Initialize(const wxString& file, int server);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -73,7 +73,7 @@ public:
|
||||
different on most platforms)
|
||||
*/
|
||||
bool AddBook(const wxFileName& bookFile, bool showWaitMsg);
|
||||
bool AddBook(const wxString& bookUrl, bool showWaitMsg);
|
||||
bool AddBook(const wxString& bookUrl, bool showWaitMsg);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -94,7 +94,7 @@ public:
|
||||
This alternative form is used to search help contents by numeric IDs.
|
||||
*/
|
||||
void Display(const wxString& x);
|
||||
void Display(const int id);
|
||||
void Display(const int id);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -27,10 +27,10 @@ public:
|
||||
wxHtmlHelpController.
|
||||
*/
|
||||
wxHtmlHelpDialog(wxHtmlHelpData* data = @NULL);
|
||||
wxHtmlHelpDialog(wxWindow* parent, int wxWindowID,
|
||||
const wxString& title = wxEmptyString,
|
||||
int style = wxHF_DEFAULT_STYLE,
|
||||
wxHtmlHelpData* data = @NULL);
|
||||
wxHtmlHelpDialog(wxWindow* parent, int wxWindowID,
|
||||
const wxString& title = wxEmptyString,
|
||||
int style = wxHF_DEFAULT_STYLE,
|
||||
wxHtmlHelpData* data = @NULL);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -27,10 +27,10 @@ public:
|
||||
wxHtmlHelpController.
|
||||
*/
|
||||
wxHtmlHelpFrame(wxHtmlHelpData* data = @NULL);
|
||||
wxHtmlHelpFrame(wxWindow* parent, int wxWindowID,
|
||||
const wxString& title = wxEmptyString,
|
||||
int style = wxHF_DEFAULT_STYLE,
|
||||
wxHtmlHelpData* data = @NULL);
|
||||
wxHtmlHelpFrame(wxWindow* parent, int wxWindowID,
|
||||
const wxString& title = wxEmptyString,
|
||||
int style = wxHF_DEFAULT_STYLE,
|
||||
wxHtmlHelpData* data = @NULL);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -49,12 +49,12 @@ public:
|
||||
wxHtmlHelpController.
|
||||
*/
|
||||
wxHtmlHelpWindow(wxHtmlHelpData* data = @NULL);
|
||||
wxHtmlHelpWindow(wxWindow* parent, int wxWindowID,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& pos = wxDefaultSize,
|
||||
int style = wxTAB_TRAVERSAL|wxBORDER_NONE,
|
||||
int helpStyle = wxHF_DEFAULT_STYLE,
|
||||
wxHtmlHelpData* data = @NULL);
|
||||
wxHtmlHelpWindow(wxWindow* parent, int wxWindowID,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& pos = wxDefaultSize,
|
||||
int style = wxTAB_TRAVERSAL|wxBORDER_NONE,
|
||||
int helpStyle = wxHF_DEFAULT_STYLE,
|
||||
wxHtmlHelpData* data = @NULL);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -113,7 +113,7 @@ public:
|
||||
(uses extension to MS format, param name="ID" value=id)
|
||||
*/
|
||||
bool Display(const wxString& x);
|
||||
bool Display(const int id);
|
||||
bool Display(const int id);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -569,8 +569,8 @@ public:
|
||||
info is extracted from tag's WIDTH parameter.
|
||||
*/
|
||||
void SetWidthFloat(int w, int units);
|
||||
void SetWidthFloat(const wxHtmlTag& tag,
|
||||
double pixel_scale = 1.0);
|
||||
void SetWidthFloat(const wxHtmlTag& tag,
|
||||
double pixel_scale = 1.0);
|
||||
//@}
|
||||
};
|
||||
|
||||
@@ -596,8 +596,8 @@ public:
|
||||
frame).
|
||||
*/
|
||||
wxHtmlLinkInfo();
|
||||
wxHtmlLinkInfo(const wxString& href,
|
||||
const wxString& target = wxEmptyString);
|
||||
wxHtmlLinkInfo(const wxString& href,
|
||||
const wxString& target = wxEmptyString);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -142,7 +142,7 @@ public:
|
||||
(in noparams version it parses whole m_Source)
|
||||
*/
|
||||
void DoParsing(int begin_pos, int end_pos);
|
||||
void DoParsing();
|
||||
void DoParsing();
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -51,11 +51,11 @@ public:
|
||||
Window style. See wxHtmlWindow.
|
||||
*/
|
||||
wxHtmlWindow();
|
||||
wxHtmlWindow(wxWindow parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxHW_DEFAULT_STYLE,
|
||||
const wxString& name = "htmlWindow");
|
||||
wxHtmlWindow(wxWindow parent, wxWindowID id = -1,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxHW_DEFAULT_STYLE,
|
||||
const wxString& name = "htmlWindow");
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -250,8 +250,8 @@ public:
|
||||
URL if OnOpeningURL returns wxHTML_REDIRECT.
|
||||
*/
|
||||
virtual wxHtmlOpeningStatus OnOpeningURL(wxHtmlURLType type,
|
||||
const wxString& url,
|
||||
wxString * redirect);
|
||||
const wxString& url,
|
||||
wxString * redirect);
|
||||
|
||||
/**
|
||||
Called on parsing @c TITLE tag.
|
||||
|
@@ -86,7 +86,7 @@ public:
|
||||
window such as wxHtmlListBox).
|
||||
*/
|
||||
wxHtmlWinParser();
|
||||
wxHtmlWinParser(wxHtmlWindowInterface wndIface);
|
||||
wxHtmlWinParser(wxHtmlWindowInterface wndIface);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -36,7 +36,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString& name = wxHtmlListBoxNameStr);
|
||||
wxHtmlListBox();
|
||||
wxHtmlListBox();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
relative paths for the images or other resources embedded in your HTML.
|
||||
*/
|
||||
wxFileSystem GetFileSystem();
|
||||
const wxFileSystem GetFileSystem();
|
||||
const wxFileSystem GetFileSystem();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -203,17 +203,17 @@ public:
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
wxHtmlListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
See also
|
||||
wxSimpleHtmlListBox::Create
|
||||
wxHtmlListBox(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
See also
|
||||
wxSimpleHtmlListBox::Create
|
||||
|
||||
wxSimpleHtmlListBox();
|
||||
wxSimpleHtmlListBox();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -234,12 +234,12 @@ wxSimpleHtmlListBox::Create
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
bool Create(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
const wxArrayString& choices,
|
||||
long style = wxHLB_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = "simpleHtmlListBox");
|
||||
//@}
|
||||
};
|
||||
|
@@ -183,11 +183,11 @@ public:
|
||||
/**
|
||||
Constructor. See Create() for more info.
|
||||
*/
|
||||
wxHyperLink(wxWindow* parent, wxWindowID id,
|
||||
const wxString & label,
|
||||
const wxString & url,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style,
|
||||
const wxString& name = "hyperlink");
|
||||
wxHyperLink(wxWindow* parent, wxWindowID id,
|
||||
const wxString & label,
|
||||
const wxString & url,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style,
|
||||
const wxString& name = "hyperlink");
|
||||
};
|
||||
|
@@ -114,17 +114,17 @@ public:
|
||||
or LoadFile must be called subsequently.
|
||||
*/
|
||||
wxIcon();
|
||||
wxIcon(const wxIcon& icon);
|
||||
wxIcon(void* data, int type, int width, int height,
|
||||
int depth = -1);
|
||||
wxIcon(const char bits[], int width, int height,
|
||||
int depth = 1);
|
||||
wxIcon(int width, int height, int depth = -1);
|
||||
wxIcon(const char* const* bits);
|
||||
wxIcon(const wxString& name, wxBitmapType type,
|
||||
int desiredWidth = -1,
|
||||
int desiredHeight = -1);
|
||||
wxIcon(const wxIconLocation& loc);
|
||||
wxIcon(const wxIcon& icon);
|
||||
wxIcon(void* data, int type, int width, int height,
|
||||
int depth = -1);
|
||||
wxIcon(const char bits[], int width, int height,
|
||||
int depth = 1);
|
||||
wxIcon(int width, int height, int depth = -1);
|
||||
wxIcon(const char* const* bits);
|
||||
wxIcon(const wxString& name, wxBitmapType type,
|
||||
int desiredWidth = -1,
|
||||
int desiredHeight = -1);
|
||||
wxIcon(const wxIconLocation& loc);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -28,9 +28,9 @@ public:
|
||||
Copy constructor.
|
||||
*/
|
||||
wxIconBundle();
|
||||
wxIconBundle(const wxString& file, long type);
|
||||
wxIconBundle(const wxIcon& icon);
|
||||
wxIconBundle(const wxIconBundle& ic);
|
||||
wxIconBundle(const wxString& file, long type);
|
||||
wxIconBundle(const wxIcon& icon);
|
||||
wxIconBundle(const wxIconBundle& ic);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
replaced by the new one.
|
||||
*/
|
||||
void AddIcon(const wxString& file, long type);
|
||||
void AddIcon(const wxIcon& icon);
|
||||
void AddIcon(const wxIcon& icon);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
Same as GetIcon( wxSize( size, size ) ).
|
||||
*/
|
||||
wxIcon GetIcon(const wxSize& size);
|
||||
wxIcon GetIcon(wxCoord size = -1);
|
||||
wxIcon GetIcon(wxCoord size = -1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
|
@@ -275,20 +275,20 @@ public:
|
||||
@sa LoadFile()
|
||||
*/
|
||||
wxImage();
|
||||
wxImage(const wxImage& image);
|
||||
wxImage(const wxBitmap& bitmap);
|
||||
wxImage(int width, int height, bool clear=@true);
|
||||
wxImage(int width, int height, unsigned char* data,
|
||||
bool static_data = @false);
|
||||
wxImage(const wxString& name, long type = wxBITMAP_TYPE_ANY,
|
||||
int index = -1);
|
||||
wxImage(const wxString& name, const wxString& mimetype,
|
||||
int index = -1);
|
||||
wxImage(wxInputStream& stream, long type = wxBITMAP_TYPE_ANY,
|
||||
int index = -1);
|
||||
wxImage(wxInputStream& stream, const wxString& mimetype,
|
||||
int index = -1);
|
||||
wxImage(const char* const* xpmData);
|
||||
wxImage(const wxImage& image);
|
||||
wxImage(const wxBitmap& bitmap);
|
||||
wxImage(int width, int height, bool clear=@true);
|
||||
wxImage(int width, int height, unsigned char* data,
|
||||
bool static_data = @false);
|
||||
wxImage(const wxString& name, long type = wxBITMAP_TYPE_ANY,
|
||||
int index = -1);
|
||||
wxImage(const wxString& name, const wxString& mimetype,
|
||||
int index = -1);
|
||||
wxImage(wxInputStream& stream, long type = wxBITMAP_TYPE_ANY,
|
||||
int index = -1);
|
||||
wxImage(wxInputStream& stream, const wxString& mimetype,
|
||||
int index = -1);
|
||||
wxImage(const char* const* xpmData);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -303,7 +303,7 @@ public:
|
||||
returns @true if the current image handlers can read this file
|
||||
*/
|
||||
static void AddHandler(wxImageHandler* handler);
|
||||
See also bool CanRead(const wxString& filename);
|
||||
See also bool CanRead(const wxString& filename);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -446,10 +446,10 @@ public:
|
||||
@sa wxImageHandler
|
||||
*/
|
||||
static wxImageHandler* FindHandler(const wxString& name);
|
||||
static wxImageHandler* FindHandler(const wxString& extension,
|
||||
long imageType);
|
||||
static wxImageHandler* FindHandler(long imageType);
|
||||
static wxImageHandler* FindHandlerMime(const wxString& mimetype);
|
||||
static wxImageHandler* FindHandler(const wxString& extension,
|
||||
long imageType);
|
||||
static wxImageHandler* FindHandler(long imageType);
|
||||
static wxImageHandler* FindHandlerMime(const wxString& mimetype);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -460,7 +460,7 @@ public:
|
||||
which are stored as the @ref getdata() RGB ones.
|
||||
*/
|
||||
unsigned char GetAlpha(int x, int y);
|
||||
unsigned char * GetAlpha();
|
||||
unsigned char * GetAlpha();
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -579,8 +579,8 @@ public:
|
||||
*/
|
||||
static int GetImageCount(const wxString& filename,
|
||||
long type = wxBITMAP_TYPE_ANY);
|
||||
static int GetImageCount(wxInputStream& stream,
|
||||
long type = wxBITMAP_TYPE_ANY);
|
||||
static int GetImageCount(wxInputStream& stream,
|
||||
long type = wxBITMAP_TYPE_ANY);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -704,7 +704,7 @@ public:
|
||||
and RGBtoHSV(), which
|
||||
converts between HSV color space and RGB color space.
|
||||
*/
|
||||
HSVValue(double h = 0.0, double s = 0.0, double v = 0.0);
|
||||
HSVValue(double h = 0.0, double s = 0.0, double v = 0.0);
|
||||
|
||||
/**
|
||||
Converts a color in HSV color space to RGB color space.
|
||||
@@ -870,13 +870,13 @@ public:
|
||||
bool LoadFile(const wxString& name,
|
||||
long type = wxBITMAP_TYPE_ANY,
|
||||
int index = -1);
|
||||
bool LoadFile(const wxString& name, const wxString& mimetype,
|
||||
int index = -1);
|
||||
bool LoadFile(wxInputStream& stream, long type,
|
||||
int index = -1);
|
||||
bool LoadFile(wxInputStream& stream,
|
||||
const wxString& mimetype,
|
||||
int index = -1);
|
||||
bool LoadFile(const wxString& name, const wxString& mimetype,
|
||||
int index = -1);
|
||||
bool LoadFile(wxInputStream& stream, long type,
|
||||
int index = -1);
|
||||
bool LoadFile(wxInputStream& stream,
|
||||
const wxString& mimetype,
|
||||
int index = -1);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -897,8 +897,8 @@ public:
|
||||
and RGBtoHSV(), which
|
||||
converts between HSV color space and RGB color space.
|
||||
*/
|
||||
RGBValue(unsigned char r = 0, unsigned char g = 0,
|
||||
unsigned char b = 0);
|
||||
RGBValue(unsigned char r = 0, unsigned char g = 0,
|
||||
unsigned char b = 0);
|
||||
|
||||
/**
|
||||
Converts a color in RGB color space to HSV color space.
|
||||
@@ -1053,11 +1053,11 @@ public:
|
||||
@sa LoadFile()
|
||||
*/
|
||||
bool SaveFile(const wxString& name, int type);
|
||||
bool SaveFile(const wxString& name, const wxString& mimetype);
|
||||
bool SaveFile(const wxString& name);
|
||||
bool SaveFile(wxOutputStream& stream, int type);
|
||||
bool SaveFile(wxOutputStream& stream,
|
||||
const wxString& mimetype);
|
||||
bool SaveFile(const wxString& name, const wxString& mimetype);
|
||||
bool SaveFile(const wxString& name);
|
||||
bool SaveFile(wxOutputStream& stream, int type);
|
||||
bool SaveFile(wxOutputStream& stream,
|
||||
const wxString& mimetype);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1110,7 +1110,7 @@ public:
|
||||
*/
|
||||
void SetAlpha(unsigned char * alpha = @NULL,
|
||||
bool static_data = @false);
|
||||
void SetAlpha(int x, int y, unsigned char alpha);
|
||||
void SetAlpha(int x, int y, unsigned char alpha);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1166,7 +1166,7 @@ public:
|
||||
@sa GetOption(), GetOptionInt(), HasOption()
|
||||
*/
|
||||
void SetOption(const wxString& name, const wxString& value);
|
||||
void SetOption(const wxString& name, int value);
|
||||
void SetOption(const wxString& name, int value);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -1183,8 +1183,8 @@ public:
|
||||
data.
|
||||
*/
|
||||
#define void SetRGB(wxRect & rect, unsigned char red,
|
||||
unsigned char green,
|
||||
unsigned char blue) /* implementation is private */
|
||||
unsigned char green,
|
||||
unsigned char blue) /* implementation is private */
|
||||
|
||||
/**
|
||||
Returns a resized version of this image without scaling it by adding either a
|
||||
|
@@ -47,8 +47,8 @@ public:
|
||||
@sa Create()
|
||||
*/
|
||||
wxImageList();
|
||||
wxImageList(int width, int height, bool mask = @true,
|
||||
int initialCount = 1);
|
||||
wxImageList(int width, int height, bool mask = @true,
|
||||
int initialCount = 1);
|
||||
//@}
|
||||
|
||||
//@{
|
||||
@@ -74,8 +74,8 @@ public:
|
||||
*/
|
||||
int Add(const wxBitmap& bitmap,
|
||||
const wxBitmap& mask = wxNullBitmap);
|
||||
int Add(const wxBitmap& bitmap, const wxColour& maskColour);
|
||||
int Add(const wxIcon& icon);
|
||||
int Add(const wxBitmap& bitmap, const wxColour& maskColour);
|
||||
int Add(const wxIcon& icon);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -193,6 +193,6 @@ public:
|
||||
*/
|
||||
bool Replace(int index, const wxBitmap& bitmap,
|
||||
const wxBitmap& mask = wxNullBitmap);
|
||||
bool Replace(int index, const wxIcon& icon);
|
||||
bool Replace(int index, const wxIcon& icon);
|
||||
//@}
|
||||
};
|
||||
|
@@ -1,27 +1,27 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: init.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: init.h
|
||||
// Purpose: documentation for global functions
|
||||
// Author: wxWidgets team
|
||||
// RCS-ID: $Id$
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
Free resources allocated by a successful call to wxEntryStart.
|
||||
/**
|
||||
Free resources allocated by a successful call to wxEntryStart.
|
||||
*/
|
||||
void wxEntryCleanup();
|
||||
|
||||
|
||||
//@{
|
||||
//@{
|
||||
/**
|
||||
(notice that under Windows CE platform, and only there, the type of
|
||||
@e pCmdLine is @c wchar_t *, otherwise it is @c char *, even in
|
||||
Unicode build).
|
||||
*/
|
||||
bool wxEntryStart(int& argc, wxChar ** argv);
|
||||
bool wxEntryStart(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance = @NULL,
|
||||
char * pCmdLine = @NULL,
|
||||
int nCmdShow = SW_SHOWNORMAL);
|
||||
bool wxEntryStart(HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance = @NULL,
|
||||
char * pCmdLine = @NULL,
|
||||
int nCmdShow = SW_SHOWNORMAL);
|
||||
//@}
|
||||
|
||||
|
@@ -73,14 +73,14 @@ public:
|
||||
translate the messages using the message catalogs for this locale.
|
||||
*/
|
||||
wxLocale();
|
||||
wxLocale(int language,
|
||||
int flags =
|
||||
wxLOCALE_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING);
|
||||
wxLocale(const wxString& name,
|
||||
const wxString& short = wxEmptyString,
|
||||
const wxString& locale = wxEmptyString,
|
||||
bool bLoadDefault = @true,
|
||||
bool bConvertEncoding = @false);
|
||||
wxLocale(int language,
|
||||
int flags =
|
||||
wxLOCALE_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING);
|
||||
wxLocale(const wxString& name,
|
||||
const wxString& short = wxEmptyString,
|
||||
const wxString& locale = wxEmptyString,
|
||||
bool bLoadDefault = @true,
|
||||
bool bConvertEncoding = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -128,9 +128,9 @@ public:
|
||||
@ref overview_nonenglishoverview "Writing non-English applications".
|
||||
*/
|
||||
bool AddCatalog(const wxString& domain);
|
||||
bool AddCatalog(const wxString& domain,
|
||||
wxLanguage msgIdLanguage,
|
||||
const wxString& msgIdCharset);
|
||||
bool AddCatalog(const wxString& domain,
|
||||
wxLanguage msgIdLanguage,
|
||||
const wxString& msgIdCharset);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -263,10 +263,10 @@ public:
|
||||
*/
|
||||
const wxString GetString(const wxString& origString,
|
||||
const wxString& domain = wxEmptyString);
|
||||
const wxString GetString(const wxString& origString,
|
||||
const wxString& origString2,
|
||||
size_t n,
|
||||
const wxString& domain = @NULL);
|
||||
const wxString GetString(const wxString& origString,
|
||||
const wxString& origString2,
|
||||
size_t n,
|
||||
const wxString& domain = @NULL);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -358,12 +358,12 @@ public:
|
||||
*/
|
||||
bool Init(int language = wxLANGUAGE_DEFAULT,
|
||||
int flags =
|
||||
wxLOCALE_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING);
|
||||
bool Init(const wxString& name,
|
||||
const wxString& short = wxEmptyString,
|
||||
const wxString& locale = wxEmptyString,
|
||||
bool bLoadDefault = @true,
|
||||
bool bConvertEncoding = @false);
|
||||
wxLOCALE_LOAD_DEFAULT | wxLOCALE_CONV_ENCODING);
|
||||
bool Init(const wxString& name,
|
||||
const wxString& short = wxEmptyString,
|
||||
const wxString& locale = wxEmptyString,
|
||||
bool bLoadDefault = @true,
|
||||
bool bConvertEncoding = @false);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -481,8 +481,8 @@ public:
|
||||
portability.
|
||||
*/
|
||||
wxLocale();
|
||||
wxLocale(wxLanguage lang);
|
||||
wxLocale(const char * loc);
|
||||
wxLocale(wxLanguage lang);
|
||||
wxLocale(const char * loc);
|
||||
//@}
|
||||
|
||||
/**
|
||||
@@ -561,8 +561,8 @@ public:
|
||||
of wxGetTranslation.
|
||||
*/
|
||||
#define const wxString wxPLURAL(const wxString& sing,
|
||||
const wxString& plur,
|
||||
size_t n) /* implementation is private */
|
||||
const wxString& plur,
|
||||
size_t n) /* implementation is private */
|
||||
|
||||
/**
|
||||
This macro doesn't do anything in the program code -- it simply expands to the
|
||||
@@ -653,9 +653,9 @@ public:
|
||||
*/
|
||||
const wxString wxGetTranslation(const wxString& str,
|
||||
const wxString& domain = wxEmptyString);
|
||||
const wxString wxGetTranslation(const wxString& str,
|
||||
const wxString& strPlural,
|
||||
size_t n,
|
||||
const wxString& domain = wxEmptyString);
|
||||
const wxString wxGetTranslation(const wxString& str,
|
||||
const wxString& strPlural,
|
||||
size_t n,
|
||||
const wxString& domain = wxEmptyString);
|
||||
//@}
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user