Various little tweaks to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,8 +52,7 @@ if 'wxMSW' in PlatformInfo:
|
|||||||
import wx._core
|
import wx._core
|
||||||
__docfilter__ = wx._core.__DocFilter(globals())
|
__docfilter__ = wx._core.__DocFilter(globals())
|
||||||
|
|
||||||
__all__ += [name for name in dir(wx._core)
|
__all__ += [name for name in dir(wx._core) if not name.startswith('_')]
|
||||||
if not (name.startswith('__') and name.endswith('__'))]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -201,6 +201,7 @@ enum {
|
|||||||
wxFD_FILE_MUST_EXIST,
|
wxFD_FILE_MUST_EXIST,
|
||||||
wxFD_MULTIPLE,
|
wxFD_MULTIPLE,
|
||||||
wxFD_CHANGE_DIR,
|
wxFD_CHANGE_DIR,
|
||||||
|
wxFD_PREVIEW,
|
||||||
wxFD_DEFAULT_STYLE,
|
wxFD_DEFAULT_STYLE,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -458,7 +459,7 @@ public:
|
|||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
int , GetSelection(),
|
int , GetSelection(),
|
||||||
"Get the index of teh currently selected item.", "");
|
"Get the index of the currently selected item.", "");
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
wxString , GetStringSelection(),
|
wxString , GetStringSelection(),
|
||||||
|
@@ -67,6 +67,22 @@ __init__ as a plain old wx.Control is not very useful.", "");
|
|||||||
"Do the 2nd phase and create the GUI control.", "");
|
"Do the 2nd phase and create the GUI control.", "");
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
int , GetAlignment() const,
|
||||||
|
"Get the control alignment (left/right/centre, top/bottom/centre)", "");
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
static wxString , GetLabelText(const wxString& label),
|
||||||
|
"Get the string without mnemonic characters ('&')", "");
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
wxString , GetLabelText() const,
|
||||||
|
"Get just the text of the label, without mnemonic characters ('&')", "");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
void , Command(wxCommandEvent& event),
|
void , Command(wxCommandEvent& event),
|
||||||
"Simulates the effect of the user issuing a command to the item.
|
"Simulates the effect of the user issuing a command to the item.
|
||||||
|
@@ -599,6 +599,8 @@ enum {
|
|||||||
wxID_HELP_COMMANDS,
|
wxID_HELP_COMMANDS,
|
||||||
wxID_HELP_PROCEDURES,
|
wxID_HELP_PROCEDURES,
|
||||||
wxID_HELP_CONTEXT,
|
wxID_HELP_CONTEXT,
|
||||||
|
wxID_HELP_INDEX,
|
||||||
|
wxID_HELP_SEARCH,
|
||||||
wxID_CLOSE_ALL,
|
wxID_CLOSE_ALL,
|
||||||
wxID_PREFERENCES,
|
wxID_PREFERENCES,
|
||||||
|
|
||||||
|
@@ -176,6 +176,11 @@ than the corresponding dimensions of the size.", "");
|
|||||||
"Decrements this object so that both of its dimensions are not greater
|
"Decrements this object so that both of its dimensions are not greater
|
||||||
than the corresponding dimensions of the size.", "");
|
than the corresponding dimensions of the size.", "");
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
void , Scale(float xscale, float yscale),
|
||||||
|
"Scales the dimensions of this object by the given factors.", "");
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
void, Set(int w, int h),
|
void, Set(int w, int h),
|
||||||
"Set both width and height.", "");
|
"Set both width and height.", "");
|
||||||
|
@@ -106,6 +106,13 @@ public:
|
|||||||
// current is NULL?
|
// current is NULL?
|
||||||
static void DontCreateOnDemand();
|
static void DontCreateOnDemand();
|
||||||
|
|
||||||
|
// log the count of repeating messages instead of logging the messages
|
||||||
|
// multiple times
|
||||||
|
static void SetRepetitionCounting(bool bRepetCounting = true);
|
||||||
|
|
||||||
|
// gets duplicate counting status
|
||||||
|
static bool GetRepetitionCounting();
|
||||||
|
|
||||||
// trace mask (see wxTraceXXX constants for details)
|
// trace mask (see wxTraceXXX constants for details)
|
||||||
static void SetTraceMask(wxTraceMask ulMask);
|
static void SetTraceMask(wxTraceMask ulMask);
|
||||||
|
|
||||||
|
@@ -68,6 +68,16 @@ The value passed to this function must be >= 1.", "");
|
|||||||
int , GetTextCtrlProportion() const,
|
int , GetTextCtrlProportion() const,
|
||||||
"Returns the proportion between the text control and the picker.", "");
|
"Returns the proportion between the text control and the picker.", "");
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
void , SetPickerCtrlProportion(int prop),
|
||||||
|
"Sets the proportion value of the picker.", "");
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
int , GetPickerCtrlProportion() const,
|
||||||
|
"Gets the proportion value of the picker.", "");
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
bool , IsTextCtrlGrowable() const,
|
bool , IsTextCtrlGrowable() const,
|
||||||
"", "");
|
"", "");
|
||||||
|
@@ -174,6 +174,25 @@ public:
|
|||||||
virtual bool SetTransparent(byte alpha);
|
virtual bool SetTransparent(byte alpha);
|
||||||
virtual bool CanSetTransparent();
|
virtual bool CanSetTransparent();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
virtual wxWindow *, GetDefaultItem() const,
|
||||||
|
"Get the default child of this parent, i.e. the one which is activated
|
||||||
|
by pressing <Enter> such as the OK button on a wx.Dialog.", "");
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
virtual wxWindow *, SetDefaultItem(wxWindow * child),
|
||||||
|
"Set this child as default, return the old default.", "");
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
virtual void , SetTmpDefaultItem(wxWindow * win),
|
||||||
|
"Set this child as temporary default", "");
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
virtual wxWindow *, GetTmpDefaultItem() const,
|
||||||
|
"Return the temporary default item, which can be None.", "");
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@@ -862,25 +862,6 @@ it.", "");
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DocDeclStr(
|
|
||||||
virtual wxWindow *, GetDefaultItem() const,
|
|
||||||
"Get the default child of this parent, i.e. the one which is activated
|
|
||||||
by pressing <Enter> such as the OK button on a wx.Dialog.", "");
|
|
||||||
|
|
||||||
DocDeclStr(
|
|
||||||
virtual wxWindow *, SetDefaultItem(wxWindow * child),
|
|
||||||
"Set this child as default, return the old default.", "");
|
|
||||||
|
|
||||||
DocDeclStr(
|
|
||||||
virtual void , SetTmpDefaultItem(wxWindow * win),
|
|
||||||
"Set this child as temporary default", "");
|
|
||||||
|
|
||||||
DocDeclStr(
|
|
||||||
virtual wxWindow *, GetTmpDefaultItem() const,
|
|
||||||
"Return the temporary default item, which can be None.", "");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DocDeclAStr(
|
DocDeclAStr(
|
||||||
virtual bool , Navigate(int flags = wxNavigationKeyEvent::IsForward),
|
virtual bool , Navigate(int flags = wxNavigationKeyEvent::IsForward),
|
||||||
@@ -1626,7 +1607,10 @@ mouse cursor will be used.", "");
|
|||||||
bool PopupMenu(wxMenu *menu, const wxPoint& pos=wxDefaultPosition);
|
bool PopupMenu(wxMenu *menu, const wxPoint& pos=wxDefaultPosition);
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
virtual bool , HasMultiplePages() const,
|
||||||
|
"", "");
|
||||||
|
|
||||||
|
|
||||||
%extend {
|
%extend {
|
||||||
DocStr(GetHandle,
|
DocStr(GetHandle,
|
||||||
|
@@ -1804,6 +1804,12 @@ public:
|
|||||||
wxString GetRowLabelValue( int row );
|
wxString GetRowLabelValue( int row );
|
||||||
wxString GetColLabelValue( int col );
|
wxString GetColLabelValue( int col );
|
||||||
wxColour GetGridLineColour();
|
wxColour GetGridLineColour();
|
||||||
|
|
||||||
|
virtual wxPen GetDefaultGridLinePen();
|
||||||
|
virtual wxPen GetRowGridLinePen(int row);
|
||||||
|
virtual wxPen GetColGridLinePen(int col);
|
||||||
|
|
||||||
|
|
||||||
wxColour GetCellHighlightColour();
|
wxColour GetCellHighlightColour();
|
||||||
int GetCellHighlightPenWidth();
|
int GetCellHighlightPenWidth();
|
||||||
int GetCellHighlightROPenWidth();
|
int GetCellHighlightROPenWidth();
|
||||||
|
Reference in New Issue
Block a user