#include <wx/wx.h>
#include <wx/geometry.h>
+//---------------------------------------------------------------------------
+#ifdef __WXMAC__ // avoid a bug in Carbon headers
+#define scalb scalbn
+#endif
//---------------------------------------------------------------------------
typedef unsigned char byte;
// virtual int FilterEvent(wxEvent& event); // This one too????
- static bool GetMacDefaultEncodingIsPC();
static bool GetMacSupportPCMenuShortcuts();
static long GetMacAboutMenuItemId();
static long GetMacPreferencesMenuItemId();
static long GetMacExitMenuItemId();
static wxString GetMacHelpMenuTitleName();
- static void SetMacDefaultEncodingIsPC(bool val);
static void SetMacSupportPCMenuShortcuts(bool val);
static void SetMacAboutMenuItemId(long val);
static void SetMacPreferencesMenuItemId(long val);
bool found; \
wxPyBeginBlockThreads(); \
if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
- PyObject* ro; \
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(i)", a)); \
} \
wxPyEndBlockThreads(); \