Some stubs corrections; Motif corrections incl. busy cursor fix; doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,7 +55,6 @@ public:
|
||||
|
||||
virtual bool Destroy();
|
||||
|
||||
void SetClientSize(int width, int height);
|
||||
void GetClientSize(int *width, int *height) const;
|
||||
void GetSize(int *width, int *height) const ;
|
||||
void GetPosition(int *x, int *y) const ;
|
||||
|
@@ -146,7 +146,7 @@ public:
|
||||
void SetTitle(const wxString& title);
|
||||
|
||||
void SetClientSize(int width, int height);
|
||||
void GetClientSize(int *width, int *height);
|
||||
void GetClientSize(int *width, int *height) const;
|
||||
void GetSize(int *width, int *height) const;
|
||||
void GetPosition(int *x, int *y) const ;
|
||||
|
||||
|
@@ -138,6 +138,9 @@
|
||||
#define wxUSE_TOOLTIPS 0
|
||||
// Use tooltips
|
||||
|
||||
#define wxUSE_DYNLIB_CLASS 0
|
||||
// Use wxLibrary
|
||||
|
||||
/*
|
||||
* Finer detail
|
||||
*
|
||||
|
@@ -67,5 +67,23 @@ public:
|
||||
#define wxHIDE_READONLY 0x0008
|
||||
#define wxFILE_MUST_EXIST 0x0010
|
||||
|
||||
// File selector - backward compatibility
|
||||
WXDLLEXPORT wxString wxFileSelector(const char *message = wxFileSelectorPromptStr, const char *default_path = NULL,
|
||||
const char *default_filename = NULL, const char *default_extension = NULL,
|
||||
const char *wildcard = wxFileSelectorDefaultWildcardStr, int flags = 0,
|
||||
wxWindow *parent = NULL, int x = -1, int y = -1);
|
||||
|
||||
// An extended version of wxFileSelector
|
||||
WXDLLEXPORT wxString wxFileSelectorEx(const char *message = wxFileSelectorPromptStr, const char *default_path = NULL,
|
||||
const char *default_filename = NULL, int *indexDefaultExtension = NULL,
|
||||
const char *wildcard = wxFileSelectorDefaultWildcardStr, int flags = 0,
|
||||
wxWindow *parent = NULL, int x = -1, int y = -1);
|
||||
|
||||
// Generic file load dialog
|
||||
WXDLLEXPORT wxString wxLoadFileSelector(const char *what, const char *extension, const char *default_name = NULL, wxWindow *parent = NULL);
|
||||
|
||||
// Generic file save dialog
|
||||
WXDLLEXPORT wxString wxSaveFileSelector(const char *what, const char *extension, const char *default_name = NULL, wxWindow *parent = NULL);
|
||||
|
||||
#endif
|
||||
// _WX_FILEDLG_H_
|
||||
|
@@ -126,6 +126,12 @@
|
||||
|
||||
#define wxUSE_SERIAL 0
|
||||
// Use serialization
|
||||
|
||||
#define wxUSE_TOOLTIPS 0
|
||||
// Use tooltips
|
||||
|
||||
#define wxUSE_DYNLIB_CLASS 0
|
||||
// Use wxLibrary
|
||||
/*
|
||||
* Finer detail
|
||||
*
|
||||
|
@@ -30,7 +30,10 @@ public:
|
||||
|
||||
int CountTokens();
|
||||
bool HasMoreToken();
|
||||
inline bool HasMoreTokens() { return HasMoreToken(); };
|
||||
wxString NextToken();
|
||||
// A better name!
|
||||
inline wxString GetNextToken() { return NextToken(); };
|
||||
wxString GetString() { return m_string; }
|
||||
|
||||
void SetString(const wxString& to_tokenize,
|
||||
|
Reference in New Issue
Block a user