Lots of changes, see the README.txt for details... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
65 lines
1.7 KiB
OpenEdge ABL
65 lines
1.7 KiB
OpenEdge ABL
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: misc2.i
|
|
// Purpose: Definitions of miscelaneous functions and classes that need
|
|
// to know about wxWindow. (So they can't be in misc.i or an
|
|
// import loop will happen.)
|
|
//
|
|
// Author: Robin Dunn
|
|
//
|
|
// Created: 18-June-1999
|
|
// RCS-ID: $Id$
|
|
// Copyright: (c) 1998 by Total Control Software
|
|
// Licence: wxWindows license
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
%module misc2
|
|
|
|
%{
|
|
#include "helpers.h"
|
|
#include <wx/resource.h>
|
|
#include <wx/tooltip.h>
|
|
%}
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
%include typemaps.i
|
|
%include my_typemaps.i
|
|
|
|
// Import some definitions of other classes, etc.
|
|
%import _defs.i
|
|
%import windows.i
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
wxWindow * wxFindWindowByLabel(const wxString& label, wxWindow *parent=NULL);
|
|
wxWindow * wxFindWindowByName(const wxString& name, wxWindow *parent=NULL);
|
|
|
|
|
|
|
|
//---------------------------------------------------------------------------
|
|
// wxToolTip
|
|
|
|
class wxToolTip {
|
|
public:
|
|
wxToolTip(const wxString &tip);
|
|
|
|
void SetTip(const wxString& tip);
|
|
wxString GetTip();
|
|
// *** Not in the "public" interface void SetWindow(wxWindow *win);
|
|
wxWindow *GetWindow();
|
|
};
|
|
|
|
|
|
%inline %{
|
|
void wxToolTip_Enable(bool flag) {
|
|
wxToolTip::Enable(flag);
|
|
}
|
|
|
|
void wxToolTip_SetDelay(long milliseconds) {
|
|
wxToolTip::SetDelay(milliseconds);
|
|
}
|
|
%}
|
|
|
|
//----------------------------------------------------------------------
|
|
//----------------------------------------------------------------------
|