// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma interface "dllwidget.h"
-#endif
-
#ifndef __DLLWIDGET_H__
#define __DLLWIDGET_H__
{
public:
MyWindow(wxWindow *parent, long style)
- : wxWindow(parent, -1) {}
+ : wxWindow(parent, wxID_ANY) {}
int HandleCommand(int cmd, const wxString& param)
{
{
public:
wxDllWidget(wxWindow *parent,
- wxWindowID id = -1,
+ wxWindowID id = wxID_ANY,
const wxString& dllName = wxEmptyString,
const wxString& className = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
{ \
*classInst = new widget(parent, style); \
*cmdFunc = SendCommandTo##widget; \
- return TRUE; \
+ return true; \
}
#define END_WIDGET_LIBRARY() \
- return FALSE; \
+ return false; \
}
#endif // __DLLWIDGET_H__