%pragma(python) addtomethod = "SetDropTarget:_args[0].thisown = 0"
wxSize GetBestSize();
+
+ void SetCaret(wxCaret *caret);
+ wxCaret *GetCaret();
+ %pragma(python) addtoclass = "# replaces broken shadow method
+ def GetCaret(self, *_args, **_kwargs):
+ from misc2 import wxCaretPtr
+ val = apply(windowsc.wxWindow_GetCaret,(self,) + _args, _kwargs)
+ if val: val = wxCaretPtr(val)
+ return val
+"
};
//%clear int* x, int* y;
%}
#endif
+%inline %{
+ int wxWindow_NewControlId() {
+ return wxWindow::NewControlId();
+ }
+ int wxWindow_NextControlId(int id) {
+ return wxWindow::NextControlId(id);
+ }
+ int wxWindow_PrevControlId(int id) {
+ return wxWindow::PrevControlId(id);
+ }
+%}
//---------------------------------------------------------------------------
int xPos = 0, int yPos = 0);
void SetScrollPageSize(int orient, int pageSize);
void SetTargetWindow(wxWindow* window);
+ void GetViewStart(int* OUTPUT, int* OUTPUT);
void ViewStart(int* OUTPUT, int* OUTPUT);
void CalcScrolledPosition( int x, int y, int *OUTPUT, int *OUTPUT);
class wxMenuItem {
public:
- wxMenuItem(wxMenu* parentMenu=NULL, int id=ID_SEPARATOR,
+ wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_SEPARATOR,
const wxString& text = wxPyEmptyStr,
const wxString& help = wxPyEmptyStr,
bool isCheckable = FALSE, wxMenu* subMenu = NULL);